Created
August 29, 2018 13:42
-
-
Save SonicZentropy/b112711d79ffa6311a0ed2c5488c2669 to your computer and use it in GitHub Desktop.
global .gitconfig
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
[alias] | |
hist = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short | |
ls = log --oneline | |
amend = commit -a --amend -C HEAD | |
new = !sh -c 'git log $1@{1}..$1@{0} "$@"' | |
ci = commit | |
co = checkout | |
cm = !git add . && git commit -a -m '$1' && git push && : |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment