I have two branches that one has specific file which I don't want to go to destination branch during the merge. I put the path of the file in .gitignore file of destination branch, but during the merge, the file came to it.
Whether Bitbucket look at .gitignore during the merge or not?