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:
8f5487f
)
Added git whereami alias.
author
Iain Patterson
<me@iain.cx>
Thu, 1 Aug 2019 15:20:47 +0000
(16:20 +0100)
committer
Iain Patterson
<me@iain.cx>
Sat, 8 May 2021 08:49:20 +0000
(10:49 +0200)
.gitconfig
patch
|
blob
|
history
diff --git
a/.gitconfig
b/.gitconfig
index
4a23a84
..
38e51c0
100644
(file)
--- a/
.gitconfig
+++ b/
.gitconfig
@@
-22,3
+22,4
@@
pretty = log --graph --pretty=format:'%C(green)%ai%Creset %C(magenta)%h%Creset %s %C(cyan)%d%Creset'
reabse = rebase
submit = commit -vuno
+ whereami = rev-parse --abbrev-ref HEAD