gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-02 03:48:30 25 4
gpt4 key购买 nike

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

最佳答案

TortoiseGit documentation解释了如何执行此操作。它无法直接链接到,因此这里是摘录。通过在该页面内搜索2.87最容易找到它。

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

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

enter image description here

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.

关于git - 如何删除TortoiseGit中的URL历史记录?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46100202/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com