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

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -