Skip to content

Instantly share code, notes, and snippets.

@jeffbcross
Created June 11, 2015 20:57
Show Gist options
  • Save jeffbcross/ec831f86485c9e724a54 to your computer and use it in GitHub Desktop.
Save jeffbcross/ec831f86485c9e724a54 to your computer and use it in GitHub Desktop.
freshbranch
#Create a new git branch based on latest upstream/master
function freshbranch () {
git fetch upstream
git checkout -b $1 upstream/master
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment