I have a submodule. I updated a branch, say "x" and committed. Now, I need to update the same changes in branch "Y" which has some difference from X.
So here is what I have been doing, I checkout Y and then run git merge X. Now, there are conflicts. Some of the conflicts are not to be resolved, for example change-logs etc. So the changelog file that I have, debian/changelog is shown to have conflict and another file has a conflict.
What I want to do is, not update debian/changelog while keeping other changes. Please dont down vote at this point. I have been trying a lot of things and read git rm man page as well.
I tried doing this, git rm --cached debian/changelog and it adds it to the list of changes to be committed as deleted. This is causing worry as I dont want this to be deleted on the remote git repository. Please advise.