(git) apply log format only to select subcommands
This commit is contained in:
@@ -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