Git conflict (rename/rename)
问题 After merging branched I've received a conflict (rename/rename) on bunch of files, with file~HEAD , and file~my_test_branch created. How to resolve these? Thanks 回答1: Given the following test-setup: git init resolving-rename-conflicts cd resolving-rename-conflicts echo "this file we will rename" > will-be-renamed.txt git add -A git commit -m "initial commit" git checkout -b branch1 git rename will-be-renamed.txt new-name-1.txt git commit -a -m "renamed a file on branch1" git checkout -b