从GitKraken概述中删除存储库 [英] Remove repository from GitKraken overview
问题描述
我不小心在GitKraken中两次克隆了相同的存储库(不要问我,我仍然在Git中学习),现在它在回购概述中显示了两次.两者都指向同一个文件夹,所以我不能只删除存储库,因为我也会丢失另一个存储库.如何从概述中删除一个?
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?
我可以想象,这对于删除GitKraken中的旧存储库也很有用,但是文件仍在本地计算机上.
I can imagine this can also be useful for removing old repositories in GitKraken, but still have the files on your local computer.
推荐答案
实际上,您可以轻松地转到%APPDATA%
文件夹或Library文件夹(对于MacOS)并找到.gitkraken
文件夹.有一个配置文件文件夹,然后是您的配置文件guid文件夹.该目录应如下所示:
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>
或者 Users \< user> \.gitkraken \ profiles \< guid>
在此文件夹中,您可以找到一个 localRepoCache
文件.删除重复的条目,然后返回到Gitkraken并根据需要将其重新添加.
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.
这篇关于从GitKraken概述中删除存储库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!