Gitup: Feature request wishes -- lock branch to left of window in Map view, checkout branch via keyboard shortcuts, fuzzy matching for branch names

Created on 25 Jul 2019  Â·  5Comments  Â·  Source: git-up/GitUp

I love love love gitup. Thank you so much for what is probably the best and most delightful piece of software I use on a daily basis.

That said -- as someone using gitup everyday, I've got a couple of features I'd _really love_ to see ...

  1. I'd really love it if I could fix a few branches to the left edge of the 'Map View' ... We have a mainline development branch and a bunch of short-lived feature branches -- would love a way to fix the long-lived branch on the left so that it never moves -- would then be easier and faster to determine from visual observation 'how is this different/ahead/behind' of the 'main' branch.
  2. It would be amazing if had the ability to switch branchs with just keyboard shortcuts ...
  3. And lastly on my huge wishlist -- I'd really love a fuzzy finding algorithm for searching branch names ...

Thanks again!!

enhancement

Most helpful comment

When I get the chance I’m going to work on a fast branch switcher similar to Xcode’s Open Quickly option for file searching. I’ve been trying to think about how it would handle different scenarios (usable only in map view, stash changes, etc). I like the branch pinning suggestion as well.

I think there are other issues tracking branch quick selection, but I’m not sure what the difference is between your 2 and 3 suggestions are. Are you asking in 2 for custom keyboard shortcuts to act as immediate branch switching?

All 5 comments

When I get the chance I’m going to work on a fast branch switcher similar to Xcode’s Open Quickly option for file searching. I’ve been trying to think about how it would handle different scenarios (usable only in map view, stash changes, etc). I like the branch pinning suggestion as well.

I think there are other issues tracking branch quick selection, but I’m not sure what the difference is between your 2 and 3 suggestions are. Are you asking in 2 for custom keyboard shortcuts to act as immediate branch switching?

I think your fast branch switcher concept sounds like it would satisfy both of my 2 and 3 desires!

I agree — 2 and 3 fit together best as one request. I separated them because Right now if I hit cmd-f in map view and search for a branch name, I get a list of results which when clicked or keyboarded over highlight the tip of the matching branch in the commit graph — but there’s no way to switch to that branch from keyboard without mousing over the relevant commit in the commit graph. So I thought of keyboard support in that scenario as one feature. Then the search itself currently appears to be doing exact match for branch names — I thought of fuzzy search as a second kind could of an improvement ...

An open quickly ui for switching branches - modeled after Xcode’s quick open or vocode’s cmd-p would be even more awesome tho I think!

Map view would be where I’d want it most I think — but having it in stash view could be really nice as well ...

In my fork I changed the branch sorting to always sort master first. It’s a bit of a hack, but some of the best few lines I ever wrote because it saves me a little bit of time every single day.

https://github.com/douglashill/GitUp/commit/884f482a8dd5bbf315c6c3f51b89579510903b32

I would love to have such a feature. Or maybe an option to hide all but the current and master branch. It is a real pain to search for the current branch in the Map View, when having a lot of branches. I use the Map View mostly for jumping up and down in a branch to see the changes, or do squash/swap/edits.

If anyone wants to review my PR for checking out commits or branches from search, please do :)
https://github.com/git-up/GitUp/pull/666

Was this page helpful?
0 / 5 - 0 ratings