Created
July 31, 2014 17:21
-
-
Save americos/084c3ff32653783b5d40 to your computer and use it in GitHub Desktop.
My 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] | |
co = checkout | |
a = add | |
s = show | |
st = status | |
d = diff | |
ds = diff --staged | |
ci = commit | |
br = branch | |
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short | |
type = cat-file -t | |
dump = cat-file -p | |
pretty = log --pretty=oneline | |
g = log --graph --pretty=oneline --all --abbrev-commit --decorate | |
gm = log --graph --pretty=oneline --all --abbrev-commit --decorate --author americos@gmail.com | |
gmx = log --graph --pretty=format:\"%h %ad | %s%d [%an]\" --all --abbrev-commit --decorate --author americos@gmail.com | |
f = show --pretty="format:" --name-only | |
undo = reset --soft HEAD^ | |
standup = log --since '1 day ago' --oneline --author americos@gmail.com | |
standupw = log --since '7 days ago' --oneline --author americos@gmail.com | |
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment