迷茫2017-04-21 10:59:20
對於二進位檔案的衝突,你肯定不想透過編輯二進位檔案來解決衝突,那是不可能完成的事情。
你要做的就是:要嘛選擇對方的修改,要嘛選擇自己的修改。
你可以用git checkout的--theirs
或--ours
選項。
git pull git checkout --theirs YOUR_BINARY_FILE // git checkout --ours YOUR_BINARY_FILE git add YOUR_BINARY_FILE git commit -m 'merged with the remote repos.' git push