Skip to content

Instantly share code, notes, and snippets.

@jaxzin
Created March 15, 2012 22:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaxzin/2047489 to your computer and use it in GitHub Desktop.
Save jaxzin/2047489 to your computer and use it in GitHub Desktop.
Git aliases
# `git tracked` -- Show which remote branches are tracked and the associated local branch
git config --global alias.tracked "for-each-ref --format='%(refname:short) <- %(upstream:short)' refs/heads"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment