Last active
December 15, 2015 11:09
-
-
Save tuxracer/5250608 to your computer and use it in GitHub Desktop.
git new branch
example: gnb another_branch Add to .bashrc
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
gnb() { | |
git checkout -b $1; | |
git branch --set-upstream-to remotes/origin/master; | |
git status; | |
git branch; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment