Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove repository from GitKraken overview

Tags:

git

gitkraken

I accidentally cloned the same repository twice in GitKraken (don't ask me how, I am still learning in Git), and now it shows up twice in the repo overview. It both point to the same folder, so I cannot just delete the repo, as I would have lost the other one too. How can I remove one from the overview?

I can imagine this can also be useful for removing old repositories in GitKraken, but still have the files on your local computer.

Double repo

like image 965
Mathias711 Avatar asked Jun 28 '16 06:06

Mathias711


People also ask

How do I delete a Git repository GUI?

Under your repository name, click Settings. click on delete repository button. you will get pop-up if you want to permanently delete it then just click on delete button. Now its done.

How do I turn off Git repository?

Also, if you want to disable your GitHub repository you need to go to Git Configuration tab under Manage and use Disconnect button to remove the Git repository association as shown in the below GIF.


1 Answers

In fact you can easily go to your %APPDATA% folder or Library folder (for MacOS) and find the .gitkraken folder. There there is a profile folder and then your profile guid folder. The directory should look something like this:

%APPDATA%\.gitkraken\profiles\<guid>
or
Users\<user>\.gitkraken\profiles\<guid>

Inside this folder you can find a localRepoCache file. Remove the entries that are duplicated, then go back to Gitkraken and add them back as needed.

like image 182
Tommaso Ercole Avatar answered Sep 20 '22 02:09

Tommaso Ercole