Skip to content

Instantly share code, notes, and snippets.

@pleckey
Last active December 14, 2015 21:29
Show Gist options
  • Select an option

  • Save pleckey/5151759 to your computer and use it in GitHub Desktop.

Select an option

Save pleckey/5151759 to your computer and use it in GitHub Desktop.
Git alias to create a feature branch. Modify origin/qa repo as necessary.
git config --global alias.feature '!f(){ git checkout master && git fetch && git pull origin master && git checkout -b ${1} && git push -u origin ${1}; };f'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment