Clear Recent Repos in Git Gui

gitgit-gui

How can I clear entries in the Git Gui's the recent repositories without deleting those repositories or the .git folders within them?

Here is an example:

Recent repositories

Here is my Git/Git Gui version info:

git-gui version 0.17.GITGUI. git-version 1.8.1.msysgit.1

Best Answer

The list of recently opened repositories is stored in the config as gui.recentrepos.

Visit https://stackoverflow.com/questions/2114111/where-does-git-config-global-get-written-to for more info about where config files are stored.

For example: in my %HOMEPATH% folder file .gitconfig (msysGit 1.8.1):

[gui]
     recentrepo = C:/one
     recentrepo = C:/two

And in C:\Program files\Git\etc\gitconfig there are no gui.recentrepo setting, global settings only.

Related Question