Git: Viewing log info for revisions ahead of the currently checked out one -
just wondering,
if check out git revision behind recent, run git log, shows logs checked out revision - not modern.
so, how view log info branches ahead of checked out revision?
if have checked out different revision, no longer on original branch. can still run
git log branchname
to full log of branch interested in.
if want see different log entries
git log ..branchname
which show log entries between current branch , branch name specified.
you can 2 branches:
git log branch1..branch2
Comments
Post a Comment