如何删除 TortoiseGit 中的 URL 历史记录?

How can I delete the URL history in TortoiseGit?

当您打开 TortoiseGit 以克隆存储库时,在克隆现有存储库下,它会使用之前已克隆的存储库填充 URL 下拉菜单。但是,我想清除这段历史。我怎样才能做到这一点?我这样做的原因是因为我使用的是公司的笔记本电脑,现在我想删除上面的所有内容。我已经从那里成功删除了我的 git 凭据。

TortoiseGit documentation 解释了如何做到这一点。它不能直接链接到,所以这里是摘录。通过在该页面内搜索 2.87.

最容易找到它

基本上您需要转到设置对话框,然后在左侧的树中select 保存的数据。你可以在那里清除各种东西。

Figure 2.87. The Settings Dialog, Saved Data Page The Settings Dialog, Saved Data Page

For your convenience, TortoiseGit saves many of the settings you use, and remembers where you have been lately. If you want to clear out that cache of data, you can do it here.

URL history

Whenever you checkout a working tree, merge changes or use the repository browser, TortoiseGit keeps a record of recently used URLs and offers them in a combo box. Sometimes that list gets cluttered with outdated URLs so it is useful to flush it out periodically.

If you want to remove a single item from one of the combo boxes you can do that in-place. Just click on the arrow to drop the combo box down, move the mouse over the item you want to remove and type Shift+Del.