1.远程仓库准备
首先Create a new repository
创建一个远程仓库

2.本地仓库准备
git init
git add *
git commit -m 'first commit'
3.本地仓库关联远程仓库

git remote add origin git@github.com:username/test.git
git push -u origin master
首先Create a new repository
创建一个远程仓库
git init
git add *
git commit -m 'first commit'
git remote add origin git@github.com:username/test.git
git push -u origin master
本文标题:Git关联远程仓库
本文链接:https://www.haomeiwen.com/subject/zioelqtx.html
网友评论