lazygit icon indicating copy to clipboard operation
lazygit copied to clipboard

Shouldn't `fetch` action be under `Local branches - Remote - Tags`?

Open raphaklaus opened this issue 3 years ago • 4 comments

Topic The fetch command can only be found when inside Files tab.

Your thoughts Shouldn't fetch command be inside the Local branches - Remote - Tags? Or perhaps available globally? For me it doesn't make much sense to be inside Files, where I am supposed to be staging, stashing, committing, and pushing... I think that belongs to a whole different family of actions.

raphaklaus avatar Jun 10 '22 12:06 raphaklaus

You can fetch branches from the local branches view using 'f': it applies to the individual branch. As for other views, I see your point: arguably fetch is worthy of being a global keybinding just like push and pull, though we are using 'f' and 'F' in other views for specific things (e.g. creating a fixup commit in the commits view). So if we wanted to support global fetch we'd need to introduce a new key for it (perhaps ctrl+f, though on windows I assume that would actually be caught by the terminal?)

jesseduffield avatar Jan 29 '24 08:01 jesseduffield

Ctrl-f is already taken in the Files view...

stefanhaller avatar Jan 29 '24 08:01 stefanhaller

Ah yes. We could just pick some random keybinding, though nothing comes to mind at the moment

jesseduffield avatar Jan 29 '24 09:01 jesseduffield