github使用中出现问题总结(持续更新)

一、上传自己的工程
看官方的资料最好
1、在github上注册,
2、新建一个repository,加上工程名,(readme.md暂时不加),这时跳出界面,上面就有教程,连接github服务器有三种方法。set up in desktop、http、ssh
2.1首先实验http
1)打开git.shell进入工程目录;
2)git init;
3)git add “file”
git commit -m “infomation”
4)git remote add origin https://github.com/XXXXXX(网页上会给出)
5)git push -u origin master提交到github
2.2ssh和http一样,只要换成ssh链接即可
2.3最后一种就是直接下载github客户端了
二、什么是ssh 密钥
github官方解释为:
Generating SSH keys
SSH keys are a way to identify trusted computers, without involving passwords. The steps below will walk you through generating an SSH key and adding the public key to your GitHub account.
生成ssh密钥看官方教程吧
https://help.github.com/articles/generating-ssh-keys/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值