4

In my tig configuration I usually use the command:

tig --all

How can I set this as the default in ~/.tigrc ?

Robert Pounder
  • 1,490
  • 1
  • 14
  • 29
user3313834
  • 7,327
  • 12
  • 56
  • 99

2 Answers2

13

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:

set main-options = --exclude=refs/stash --all
Jonas Fonseca
  • 1,811
  • 15
  • 15
3

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

Wolf
  • 4,254
  • 1
  • 21
  • 30
  • 2
    `cmdline-args` is used internally by Tig and currently exposed, however, using it may randomly break other views. Will look into making it read-only. – Jonas Fonseca Aug 22 '15 at 19:32