Skip to content

Instantly share code, notes, and snippets.

@t-cyrill
Last active August 29, 2015 14:16
Show Gist options
  • Save t-cyrill/b65e093d5654f6b3888c to your computer and use it in GitHub Desktop.
Save t-cyrill/b65e093d5654f6b3888c to your computer and use it in GitHub Desktop.
useful git operation
git push origin `git rev-parse --abbrev-ref HEAD`
git branch --merged | egrep -v 'master|\*' | xargs -n1 git branch -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment