Git merge different file names -
Here's my scenario:
I work on bug fixing at file1 file1
in the reactor file2
. He has completed his work and merges back into the master and gives push. Now file1
is no longer present in the head.
What happens when I pull and change my file1
to merge? Is GIT smart enough for this thing or will I be able to merge your changes manually?
First, you do not merge files , then you Modification (or rather the lines of development) can merge.
The second uses the equality based estimation for rename , so if the file2
is similar to file1
, Then git should automatically merge itself and its change into file2
. If not, you will get 'CONFLICT (modify / delete)' (I think) you have to solve manually.
Comments
Post a Comment