feat!: Don't display all branches by default in git lg
This commit is contained in:
parent
a57111c2fd
commit
12e53506a4
2
config
2
config
|
@ -33,7 +33,7 @@
|
||||||
|
|
||||||
# custom git log (inline)
|
# custom git log (inline)
|
||||||
lgi = "!f() { \
|
lgi = "!f() { \
|
||||||
git log --graph --branches --all --date=human --color $@ \
|
git log --graph --date=human --color $@ \
|
||||||
--format='%C(bold dim green)%h%C(auto) - %C(yellow)%cr %C(bold)→%C(reset) %s%C(reset bold yellow)%d <an>%an</an> <sig>%G?</sig> <sn>%GS</sn> %C(reset)' | \
|
--format='%C(bold dim green)%h%C(auto) - %C(yellow)%cr %C(bold)→%C(reset) %s%C(reset bold yellow)%d <an>%an</an> <sig>%G?</sig> <sn>%GS</sn> %C(reset)' | \
|
||||||
sed \
|
sed \
|
||||||
-e 's#<an>\\(.*\\)</an> <sig>N</sig> <sn>.*</sn>#\\x1b[0;2;3;37m- \\1#' \
|
-e 's#<an>\\(.*\\)</an> <sig>N</sig> <sn>.*</sn>#\\x1b[0;2;3;37m- \\1#' \
|
||||||
|
|
Loading…
Reference in a new issue