git://git.iain.cx/iain
/
profile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25a417e
)
Added git pretty alias.
author
Iain Patterson
<me@iain.cx>
Fri, 7 Feb 2014 11:23:20 +0000
(11:23 +0000)
committer
Iain Patterson
<me@iain.cx>
Mon, 10 Feb 2014 17:06:59 +0000
(17:06 +0000)
Alias git pretty to print a nicer graph with colours.
.gitconfig
patch
|
blob
|
history
diff --git
a/.gitconfig
b/.gitconfig
index
a1e7aaf
..
4a23a84
100644
(file)
--- a/
.gitconfig
+++ b/
.gitconfig
@@
-19,5
+19,6
@@
alias = config --global --get-regexp 'alias\\..*'
amend = commit --amend
graph = log --graph --pretty=oneline
+ pretty = log --graph --pretty=format:'%C(green)%ai%Creset %C(magenta)%h%Creset %s %C(cyan)%d%Creset'
reabse = rebase
submit = commit -vuno