I have two branches: master and feature
I have to merge the feature branch into the master.
Both branches have a few new commits.
Now I am checking out the master branch and merging the feature branch to the master.
The new files in the master but not in the feature branch are showing as deleted.
can someone please help to merge these branches.
when I execute git status, I can see few files are modified, few have merge conflict, and many are in deleted state.
Steps I tried:
-
checkout to master and merge feature branch- files are showing as deleted when I use “git status”.
-
First merge master to feature commit it and then merge feature to master- still files are showing as deleted.
I am not sure of the reason why files are getting deleted. Can someone please explain and help with the solution. Thanks in advance.