How can one remove unused git bracnhes from Tortoise-Git? These branches have been removed both locally and remotely, i'd like to not see them anymore when using this dropdown
They're unnecessary. In most cases, branches, especially branches that were related to a pull request that has since been accepted, serve no purpose. They're clutter. They don't add any significant technical overhead, but they make it more difficult for humans to work with lists of branches in the repository.
As of TortoiseGit 2.4.0.2 there is a way to let it execute git remote prune origin
. In the Sync window you can select "Clean up stale remote branches" which then will remove all already removed remote branches from your local cache.
I don't know if this already exists in previous versions, because I normally use the command line ^^
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With