Skip to content

Instantly share code, notes, and snippets.

@bobsilverberg
Created March 20, 2014 17:09
Show Gist options
  • Save bobsilverberg/9668896 to your computer and use it in GitHub Desktop.
Save bobsilverberg/9668896 to your computer and use it in GitHub Desktop.
function nb () {
git checkout $1
git pull upstream $1
git branch -D $2
git checkout -b $2
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment