1.克隆 fork 的仓库代码
git clone -b dev repo地址
2.更新主仓代码
git pull 主仓repo地址 dev
会出现冲突
3.解决冲突,提交代码,正常merge
fork仓提交主仓代码冲突
最新推荐文章于 2022-06-04 23:50:26 发布
1.克隆 fork 的仓库代码
git clone -b dev repo地址
2.更新主仓代码
git pull 主仓repo地址 dev
会出现冲突
3.解决冲突,提交代码,正常merge