(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]
|
||||
path = ~/.config/.gitconfig
|
||||
|
||||
[format]
|
||||
pretty = tformat:%C(yellow)%h %C(blue)%as%C(auto)%d %C(reset)%s
|
||||
|
||||
[alias]
|
||||
graph = log --oneline --all --graph
|
||||
oneline = !git --no-pager log -20
|
||||
graph = log \
|
||||
--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