(git) apply log format only to select subcommands
This commit is contained in:
1 parent
491667764e
commit
ff9ea823d0
1 file changed
+9
-5
@@ -14,9 +14,13 @@
|
|||||||
[include]
|
[include]
|
||||||
path = ~/.config/.gitconfig
|
path = ~/.config/.gitconfig
|
||||||
|
|
||||||
[format]
|
|
||||||
pretty = tformat:%C(yellow)%h %C(blue)%as%C(auto)%d %C(reset)%s
|
|
||||||
|
|
||||||
[alias]
|
[alias]
|
||||||
graph = log --oneline --all --graph
|
graph = log \
|
||||||
oneline = !git --no-pager log -20
|
--oneline \
|
||||||
|
--all \
|
||||||
|
--graph \
|
||||||
|
--pretty='tformat:%C(yellow)%h %C(blue)%as%C(auto)%d %C(reset)%s'
|
||||||
|
|
||||||
|
oneline = !git --no-pager log \
|
||||||
|
-n 20 \
|
||||||
|
--pretty='tformat:%C(yellow)%h %C(blue)%as%C(auto)%d %C(reset)%s'
|
||||||
Reference in new issue
Block a user