Clear Recent Repos in Git Gui
Solution 1
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.
Solution 2
Open Git Bash and try:
git config --global --unset-all gui.recentrepo
Related videos on Youtube
Ryan Gates
I am a software developer working to create software that people will enjoy using. Fort Lauderdale LocalWiki Code for Fort Lauderdale Github Twitter LinkedIn
Updated on September 18, 2022Comments
-
Ryan Gates over 1 year
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:
Here is my Git/Git Gui version info:
-
Ryan Gates almost 11 yearsI found the
.gitconfig
file under my C:\Users\username folder, but it had different entries from what I see in the UI. Are there other config files that trump this one? -
Ryan Gates almost 11 yearsCan you add code for what the config file might look like to help others?
-
Ryan Gates almost 11 yearsIn my case, the file was under
%HOMEDRIVE%%HOMEPATH%
, which is where the shortcut's start in parameter was set to. -
madlynx almost 11 yearsedited my answer
-
Ibrahim Disouki over 8 yearsHow i can clear clear recent repos on Linux Ubuntu 14.04?