- 创建一个新的仓库,关联到该远程分支
git init
git add README.md
git commit -m "first commit"
git remote add origin https://xxxxxxx/wangdong/helloworld.git
git push -u origin master
- 解除关联
git remote remove origin
git init
git add README.md
git commit -m "first commit"
git remote add origin https://xxxxxxx/wangdong/helloworld.git
git push -u origin master
git remote remove origin
本文标题:git常用
本文链接:https://www.haomeiwen.com/subject/bxtzjqtx.html
网友评论