2

How do you make custom views (created in the View->New view menu) persist across gitk sessions?

There doesn't seem to be anything related stored in .gitk. Is this impossible to achieve?

loopbackbee
  • 21,962
  • 10
  • 62
  • 97

1 Answers1

4

You can just save them using the GUI. There is a checkbox "Remember this view" .. Enable it.

gitk will write a line as the following to ~/.gitk:

set permviews {{{View1} {} --branches {}}
hek2mgl
  • 152,036
  • 28
  • 249
  • 266