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

Git创建仓库(自己是master)

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

遇到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 checkout -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_my

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值