git-up / GitUp

The Git interface you've been missing all your life has finally arrived.
http://gitup.co
GNU General Public License v3.0
11.43k stars 1.23k forks source link

ability to hide branches #261

Open clarson99 opened 7 years ago

clarson99 commented 7 years ago

I would love to have white/black lists for which branches to show in the main window. We have many branches, but only 5 or 6 that I care about. Maybe there could be multiple white lists that you could tab through such as "feature/" or "personal/" or "aws/" and the default filter would be "".

carles commented 7 years ago

Would love to have this feature as well :)

st-schneider commented 4 years ago

Me as well

DanEble commented 4 years ago

Would you want these filters also to apply to other parts of the UI, such as the "Rebase onto" and "Set Upstream to" menu items? Currently, the "Stale branch tips" filter (and maybe others) does not apply to those.

clarson99 commented 4 years ago

@DanEble I think it would be a nice to have if if didn't complicate the UI too much.

My use case revolves around repos with 30+ branches and multiple remotes. The graph view gets pretty messy and hard to read. I cant completely remove those remotes, because I do need them once a month, it would be nice to be able to hide them during my normal daily workflow.

Maybe a .gitup file per repo with a button in the UI to toggle hidden branches?

st-schneider commented 4 years ago

Maybe it would be feasible to filter branches by first parent or isolate a branch to show only interconnected branches to a certain branch. Or of course just whitelist/blacklist but that might leave some loose ends.

hoclun-rigsep commented 4 years ago

Definite bump for this one. I think this could be kept simple, a checkbox dialog or a pattern list would be quite sufficient and I imagine not very difficult to implement.

I have branches that are only for deployment and during development they clutter the view, especially if I've updated them recently and they therefore show on the left.

rahul003 commented 4 years ago

+1 on this. Our workflows involve some open source repositories and couple of remotes. Too many branches show up in gitUp and make navigation slow and harder

RWF-N commented 1 year ago

+1. I would like to have only branches visible that match origin/release/* or origin/feature/*.