Skip to content

Instantly share code, notes, and snippets.

@switowski
Created January 21, 2019 17:10
Show Gist options
  • Save switowski/b39fc0bea3ed0e3a61782faf92e834ad to your computer and use it in GitHub Desktop.
Save switowski/b39fc0bea3ed0e3a61782faf92e834ad to your computer and use it in GitHub Desktop.
bclean = "!f() { git branch --merged ${1-master} | grep -v " ${1-master}$" | xargs -r git branch -d; }; f"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment