Skip to content

Instantly share code, notes, and snippets.

@marcusshepp
Created August 24, 2017 13:51
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 marcusshepp/45740a9da94da8c186c0ef720f4e9201 to your computer and use it in GitHub Desktop.
Save marcusshepp/45740a9da94da8c186c0ef720f4e9201 to your computer and use it in GitHub Desktop.
finding branches
# to fetch (obtain references to) all origin branches
git fetch origin
# to see all branches
git branch -a
git branch -a | grep foo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment