How can I find out how a commit landed in a Git branch? -


a feature supposed in side branch, appeared in our production branch in git. expect have happened, pushed wrong local branch remote production branch, local branch ahead of remote production branch.

however, there isn't way tell whether happened, merge on remote would've been fast-forward merge. there way find out how happened?

you can display full log history or use gui.

git has build in tool named gitk
can run git log form command lien view full tree

git log --oneline --decorate --graph

the above command out put example: git log output example


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -