Last active
October 31, 2016 23:04
-
-
Save marty-wang/b8c1101d81174c9afc86e33f68c19a19 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
git config --global alias.co checkout | |
git config --global alias.br branch | |
git config --global alias.brv branch -vv | |
git config --global alias.ci commit | |
git config --global alias.st status | |
git config --global alias.fix commit --amend | |
git config --global alias.pr pull --rebase | |
// always rebase for pull | |
git config --global branch.autosetuprebase always | |
// push the current branch to its upstream branch | |
git config --global push.default upstream | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment