Skip to content

Instantly share code, notes, and snippets.

@westonal
Created August 11, 2015 09:57
Show Gist options
  • Save westonal/b688de8e455973656b93 to your computer and use it in GitHub Desktop.
Save westonal/b688de8e455973656b93 to your computer and use it in GitHub Desktop.
Useful git commands

List origin branches

git for-each-ref --sort=-committerdate refs/remotes/origin/ --format="%(authordate:short)%09%(color:yellow)%(authordate:relative)%09%(col or:white)%(refname:short)

2015-08-10      18 hours ago    origin/feature/larger-nd2-symbol-font
2015-08-07      4 days ago      origin/feature/Delete-unused-sp-groups
2015-08-06      5 days ago      origin/develop
2015-08-06      5 days ago      origin/HEAD
2015-08-06      5 days ago      origin/feature/sso-ibrams-webpart
2015-08-06      5 days ago      origin/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment