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