Skip to content

Instantly share code, notes, and snippets.

@matthewmccullough
Created March 9, 2011 05:07
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthewmccullough/861722 to your computer and use it in GitHub Desktop.
Save matthewmccullough/861722 to your computer and use it in GitHub Desktop.
Examples of three branch tracking info techniques in Git
% git status --branch
# On branch master
# Your branch is behind 'origin/master' by 1 commit, and can be fast-forwarded.
#
nothing to commit (working directory clean)
% git branch -v
* master a60b37e [behind 1] First checkin
mynewfeature 7a910dc Checking in everything
% git branch -vv
* master a60b37e [origin/master: behind 1] First checkin
mynewfeature 7a910dc Checking in everything
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment