In my tig configuration I usually use the command:
tig
tig --all
How can I set this as the default in ~/.tigrc ?
~/.tigrc
Add to your ~/.tigrc:
set cmdline-args = --all
I got this from the tigrc documentation found in the tig project: https://github.com/jonas/tig/blob/master/doc/tigrc.5.adoc
Any git-log flags you want to use by default for filtering commits shown ino the main view by default can be added to main-options in ~/.tigrc:
git-log
main
main-options
set main-options = --exclude=refs/stash --all
Copyright © 2021 Jogjafile Inc.
Add to your
~/.tigrc
:I got this from the tigrc documentation found in the tig project: https://github.com/jonas/tig/blob/master/doc/tigrc.5.adoc