10 git 远程仓库-添加远程库

https://github.com/settings/repositories

添加新的仓库
10 git 远程仓库-添加远程库_第1张图片
Paste_Image.png
10 git 远程仓库-添加远程库_第2张图片
Paste_Image.png
把本地的仓库推送到远程仓库

git remote add origin https://github.com/xxjqr/learnGit.git #与远程仓库关联
git push -u origin master #把mater分支的内容推上去

可能出现的问题
http://jingyan.baidu.com/article/f3e34a12a25bc8f5ea65354a.html

你可能感兴趣的:(10 git 远程仓库-添加远程库)