How to delete local branches of GitExtension

Posted 金庆

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了How to delete local branches of GitExtension相关的知识,希望对你有一定的参考价值。

How to delete local branches of GitExtension

(Jin Qing’s Column, Dec., 2021)

GitExtension is a good tool. After a long time of usage, my branch list finally reaches over a full screen, and it is hard to select the branch I want.

GitExtension always remembers all the branches of remote and local, even they have been deleted.

I tried to find a way to delete these branches which are already merged, but resulted in futile.

It has a plugin names “Delete obsolete branches”, but I don’t know how to use it.

Finally I renamed the work directory, and cloned a new one, which clears all the branches.
It seems that these branches are stored in local .git directory.
If let GitExt open the renamed directory, these branches reappears.

Reference:

  • https://talk.plesk.com/threads/git-extension-doesnt-remove-deleted-branches.351838/
  • https://plesk.uservoice.com/forums/184549-feature-suggestions/suggestions/39296707-git-extension-option-to-delete-branches

以上是关于How to delete local branches of GitExtension的主要内容,如果未能解决你的问题,请参考以下文章

How to Delete Archivelog Using RMAN in Oracle

How to configure locales to Unicode in a Docker Ubuntu 14.04 container?

python: how to delete a given item if it exist in the list

Ubuntu 添加删除用户 How to Add and Delete Users on Ubuntu 16.04

How to resolve the truncate/drop/delete/join hang issue in ADW

How to include custom library into maven local repository?--转