2019年10月29日

[git] Updates were rejected because the tip of your current branch is behind its remote counterpart.

摘要: 场景 原因 远端冲突 解决方案 推荐方案3 因为merge会新建commit, 让网络图错综复杂, 十分难观察 1. git push force 暴力更新代码, 这样会丢失远端的一些提交(或者代码) 2. git pull ( fetch + merge ) 本地取远端修改, 然后合并 3. gi 阅读全文

posted @ 2019-10-29 10:17 糖栗子 阅读(1242) 评论(0) 推荐(0) 编辑

导航