I am having a problem with git merge / rebase and even stash, let me explain what is happening:
Situation: I and other friend, we are working in separate branches, but we have a file that we always modify (messages.properties). Who finishes the work first, commit and push and the other make a fetch, stash his work, merge the branch with the branch´s friend and apply the stash ... here we always have a problem, because my messages.properties override his messages, and his modifications are lost.
The situation above happens even when I commit my work (instead of stash) and rebase /merge with his work; my messages always override his modifications.
I don´t know what I am doing wrong here, someone can help me?
messages.properties.dist
. When you setup your workspace you copy the file tomessages.properties
and edit it regarding your (local) needs. However, like already mentioned it seems that this isn't appropiate here.