- Solution 1: Use the local one
git add lib/mylib.jar git commit -m "fix git conflict by using the local copy"
- Solution 2: Use the remote one
git checkout origin/master lib/mylib.jar git add lib/mylib.jar git commit -m "fix git conflict by using the remote copy"
orgit checkout --theirs -- lib/mylib.jar git add lib/mylib.jar git commit -m "fix git conflict by using the remote copy"
No comments:
Post a Comment