Skip to content

Instantly share code, notes, and snippets.

@ScottRadcliff
Created February 28, 2014 12:49
Show Gist options
  • Save ScottRadcliff/9270497 to your computer and use it in GitHub Desktop.
Save ScottRadcliff/9270497 to your computer and use it in GitHub Desktop.
Merge a branch and then delete it
#!/bin/bash
git merge $1 && git branch -d $1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment