0
点赞
收藏
分享

微信扫一扫

Git创建仓库(自己是master)与Git协作开发(别人是master)

我是芄兰 2022-04-23 阅读 43
git

Git创建仓库(自己是master)

https://www.jb51.net/LINUXjishu/457371.html
https://www.runoob.com/git/git-tutorial.html
已经介绍的很详细,就不拾人牙慧了。

遇到remote: Support for password authentication was removed on August 13, 2021报错的时候,参考下面的博客:https://blog.csdn.net/qq_41646249/article/details/119777084

Git协作开发(别人是master)

1、git clone https://别人的仓库
2、cd 仓库进入这个仓库
3、git status
4、git chechout -b <分支名> 下文以dev_my作为分支名
5、git status
6、git branch
7、gedit test2.txt
8、git add test2.txt
9、git commit -m "xxxxx"
10、git remote add dev_my https://自己的github地址 将本地电脑暂存仓库与github仓库关联
11、git remote -v 显示所有远程仓库
12、git push origin dev_gyb

举报

相关推荐

0 条评论