Skip to content

Instantly share code, notes, and snippets.

@bobishh
Created July 13, 2016 10:15
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 bobishh/70d157a878ccfcea3919da615e88527b to your computer and use it in GitHub Desktop.
Save bobishh/70d157a878ccfcea3919da615e88527b to your computer and use it in GitHub Desktop.
# fish-shell
for branch in (git branch --merged master | grep -v "^\ *master")
git push origin :(echo $branch | sed 's/\ *//')
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment