Skip to content

Instantly share code, notes, and snippets.

@birchestx
Last active August 29, 2015 14:02
Show Gist options
  • Save birchestx/459c25d941b855b06e1c to your computer and use it in GitHub Desktop.
Save birchestx/459c25d941b855b06e1c to your computer and use it in GitHub Desktop.
change to master, pull latest, delete branch
#!/usr/bin/env bash
git checkout master
git pull
git branch -d $1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment