일부 브랜치에서 편집중인 파일이 있고 다른 브랜치에서 내 브랜치의 이름을 바꿉니다. 자식은 두 파일 모두에 병합 충돌을보고하고 잘못된 결과를 만듭니다. diff
.힘내, 파일 이름을 잘못 바꾼다. 자동으로 병합하는 방법?
내가 병합 할 때마다 이름 변경을 취소하지 않고 아래의 결과를 피할 수 있습니까?
$ git diff master
diff --git a/old.txt b/old.txt
index 7b4dc35..e73e0b4 100644
--- a/old.txt
+++ b/old.txt
@@ -1,4 +1,2 @@
-This is an old file.
-A Corrected Text again.
-More Text.
+This is a second file.
+Do not confuse with original.
diff --git a/old2.txt b/old2.txt
index e73e0b4..8f51c7b 100644
--- a/old2.txt
+++ b/old2.txt
@@ -1,2 +1,4 @@
-This is a second file.
-Do not confuse with original.
+This is an old file.
+A Corrected Text.
+More Text.