迷茫2017-04-21 10:59:20
For binary file conflicts, you definitely don’t want to resolve the conflict by editing the binary file, that is impossible.
All you have to do is: either choose the other party's modifications, or choose your own modifications.
You can use the --theirs
或--ours
option of git checkout.
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
ringa_lee2017-04-21 10:59:20
Cut conflicting files to the desktop, pull, cut back from the desktop, commit, push