Cretezy / lazyjj

TUI for Jujutsu/jj
Apache License 2.0
34 stars 2 forks source link

Branches tab #3

Closed Cretezy closed 1 month ago

Cretezy commented 1 month ago

It would be great if lazyjj had a "Branches" tab which listed branches and the current commit they are pointed at.

Potential actions:

Additionally, when on the "Log" tab, an action to set a change to a branch could be added. Once the action triggered, a menu to select (or create) a branch would be shown.

maralorn commented 1 month ago

I notice that in practice setting a branch (and then immediately pushing it) is something I need very often.

Cretezy commented 1 month ago

@maralorn I agree, an option to push after setting sounds like a great idea.

Cretezy commented 1 month ago

Since templating for branches is coming soon, this feature will require 0.18 (schedule for release in ~1 week).

I have a WIP implementation: https://github.com/Cretezy/lazyjj/pull/18