Created
December 18, 2014 17:33
-
-
Save ZeroBugBounce/63f2f688a0437ea24116 to your computer and use it in GitHub Desktop.
Create a feature branch from current branch with descriptive name
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
feat() { | |
git checkout develop | |
git pull | |
git checkout -b feature/DEB-"${@// /-}" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Handy for feature branches with descriptive names. You type:
and it will a) pull latest on the develop branch and b) create a branch from it like so (obviously the DEB- prefix or anything can be changed)