version control - Merge issues in GIT - File changes which are in a Merge commit vanished from a branch after a commit -
we have branch called branchmaster. used downmerge code same branch called branchdev.
recently have done downmerge branchmaster branchdev. in merge commit, has lots of file changes. after which, lots of commit happened in branch branchdev. 1 of commit merge commit commit done else in team. after last merge commit, file changes in first merge commit vanished. not sure why/how.
can please help?
use git blame --reverse <old_commit>..<new commit> <name of file>
in case there files deleted.
to find deleted lines, if aware how can use git log -s <deleted string> <filename>
using git reflog
option in finding deleted commits. code deletion part of new commit not same dropping commit. should check reflog entries have not expired or cleaned.
Comments
Post a Comment