Created
October 9, 2020 13:00
-
-
Save RainerBlessing/920103530a9cabfa3c906fb1932f8546 to your computer and use it in GitHub Desktop.
GitL Do a Pull before creating a Branch
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
#usage: git br test | |
git config --global alias.br "!f() { git pull && git checkout -b $1; }; f" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
git config --global alias.br "!f() { git pull && git checkout -b $1; }; f"
git config --global alias.st status
git br test
Already up to date.
Switched to a new branch 'test'