9

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

Stevoisiak
  • 16,075

2 Answers2

11

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.

madlynx
  • 331
9

Open Git Bash and try:

git config --global --unset-all gui.recentrepo