Search code examples
gitgitk

Reseting gitk GUI


Today I worked as usual on my tasks but from one moment to the next, my gitk GUI was all mixed up:

Is there a way to reset the GUI/configure positions of GUI elements for gitk?


Solution

  • From man gitk:

       User configuration and preferences are stored at:
       •   $XDG_CONFIG_HOME/git/gitk if it exists, otherwise
       •   $HOME/.gitk if it exists
       If neither of the above exist then $XDG_CONFIG_HOME/git/gitk is created and used by default. If $XDG_CONFIG_HOME is not set it
       defaults to $HOME/.config in all cases.
    

    Removing the configuration, typically in .config/git/gitk should reset the settings.