Last active
March 24, 2017 16:02
-
-
Save ccurtisj/6105399 to your computer and use it in GitHub Desktop.
Git preferences
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
# Git preferences | |
git config push.default current | |
# Some useful git aliases | |
## Basics | |
git config --global alias.co checkout | |
git config --global alias.br branch | |
git config --global alias.ci commit | |
git config --global alias.st status -sb | |
## Advanced | |
git config --global alias.standup "log --since yesterday --author `git config user.email`" | |
git config --global alias.purr 'pull ––rebase' | |
git config --global alias.ready 'rebase -i @{u}' | |
## Please don't ever use this | |
git config --global alias.yolo 'git add -A && git commit -am “#YOLO” && git push origin master’ | |
# From: | |
# * http://git-scm.com/book/en/Git-Basics-Tips-and-Tricks | |
# * http://code.joejag.com/2013/everyday-git-aliases/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment