I am trying to merge branch name lms-development
into cms-development
.
it is adding 5 files which do not present in both of their local version.
I am sure, I am not merging any other versions.
I used git merge --no-ff --no-commit lms-development
while merging.
I have also checked these 5 files are not in untacked.
what I did previously in history in the repo in other branches and merges.
I ignored some of the files during merge previously by
git rm --chached PATH_TO_FILES
git reset PATH_TO_FILES
git reset HEAD -- PATH_TO_FILES
git rm -rf PATH_TO_FILES
I have done the above things in many merges because of requirements.
Is this thing can create such an issue.
Let me know if other things in git can create such an issue as well. I might don't have any idea about thing that other developers did something.
We are using 2 branches for two different microservice, both of these branches have different folders and some common folders. I merge these branches to each other. during that merge, I ignore files by the above technique so that I can ignore folder of specific microservice and can have updated common code.
Any thoughts on this could be grateful.