摘要: git merge dev --allow-unrelated-histories后面加 --allow-unrelated-histories这句命令表示将dev分支合并到当前分支,这里的两个本地分支各自追踪不同的远程库,需要加入--allow-unrelated-histories参数才能够完成 阅读全文
posted @ 2021-10-26 10:22 Ootori 阅读(163) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/weixin_43742708/article/details/110889776 解决方法: 首先git checkout -b temp 其次git checkout master 就可以git push了 阅读全文
posted @ 2021-10-26 10:20 Ootori 阅读(884) 评论(0) 推荐(0) 编辑