Skip to content

Instantly share code, notes, and snippets.

@adiroiban
Last active January 18, 2016 00:44
Show Gist options
  • Save adiroiban/351a80ffbc0694674c2c to your computer and use it in GitHub Desktop.
Save adiroiban/351a80ffbc0694674c2c to your computer and use it in GitHub Desktop.
twisted_create_branch
twisted_create_branch () {
branch_name=$1
git sb trunk
mkbranch $branch_name
git fetch origin
git pull origin trunk
git checkout -b $branch_name origin/$branch_name
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment