Skip to content

Instantly share code, notes, and snippets.

@cetver
Created January 19, 2018 14:46
Show Gist options
  • Save cetver/4961bfd6925b75c8c300c3d68896114f to your computer and use it in GitHub Desktop.
Save cetver/4961bfd6925b75c8c300c3d68896114f to your computer and use it in GitHub Desktop.
Usefull git commands
# Shows local branches without remote
git branch -vv | cut -c 3- | awk '$3 !~/\[/ { print $1 }'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment