Last active
January 7, 2016 12:32
-
-
Save lukehedger/1205cbf929386f817aa0 to your computer and use it in GitHub Desktop.
Git cmd aliases
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
# open global git config | |
$ atom ~/.gitconfig | |
[alias] | |
today = !git log --since=midnight --author=\"$(git config user.name)\" --oneline | |
yday = !git log --since=day.before.yesterday.midnight --until=midnight --author=\"$(git config user.name)\" --oneline | |
co = !git checkout | |
pu = !git push -u | |
ci = !git commit -am |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Resource: http://git-scm.com/book/en/v2/Git-Basics-Git-Aliases