git merge
在merge命令后有較多conflict的情況下強烈推薦使用下面命令(以當前分支為準選擇ours,以目標分支為準選擇theirs),之后在執行git push:
git merge --strategy-option theirs/ours $branch-name
總結
- 上一篇: git clean
- 下一篇: git reset git stash
在merge命令后有較多conflict的情況下強烈推薦使用下面命令(以當前分支為準選擇ours,以目標分支為準選擇theirs),之后在執行git push:
git merge --strategy-option theirs/ours $branch-name