When you work in a repository with many other collaborators, the git-trim output looks like this:
Branches that will remain:
local branches:
foo # here are my branches I'm interested in
bar
remote references:
origin/blabla1 # here is a huge list of remote branches from all collaborators
origin/blabla2
The list of remote references is so long that the "local branches" part is actually not visible unless I scroll up. However, in this kind of repositories, I'm only interested in removing my own branches, and not in all remote ones.
To Reproduce
Clone any repository with multiple branches
git trim --delete merged-local,local
Expected behavior
Remote references are not listed.
Actual behaviour
Remote references are listed, although I explicitly specified that I have no intention to clean them up.
I agree, it would be nice to have a config option to hide the remote references (or maybe only give the number of them?), and/or an option to limit the number of remote references shown?
Check your version before submitting the bug
Describe the bug
When you work in a repository with many other collaborators, the
git-trim
output looks like this:The list of remote references is so long that the "local branches" part is actually not visible unless I scroll up. However, in this kind of repositories, I'm only interested in removing my own branches, and not in all remote ones.
To Reproduce
git trim --delete merged-local,local
Expected behavior Remote references are not listed.
Actual behaviour Remote references are listed, although I explicitly specified that I have no intention to clean them up.