Ability to checkout remote branches in a detached state (without creating a corresponding local branch)
In issue #293 (closed), @armandas implemented the ability to checkout remote branches. However, looking at the current GUI for it, it seems like it always creates a local branch in the process:
If you remove the contents of the text field, the "Checkout" button becomes insensitive.
I would like to be able to do checkouts without creating local branches, like I can do on the command line. This is very useful as a QA person when I simply want to temporarily test someone else's branch by switching to it and launching the app from GNOME Builder, without polluting my side of things.
Ideally the UI (and backend) should allow this, and the either:
- the "Local branch name:" label could have a " (optional):" suffix, or;
- there could be a hint/tip label above it all, that explains you can clear it to checkout in a detached state, or;
- the UI could be flipped upside down a bit and have the remote branch widgets at the top, then a separation label that says, "If you wish a local branch to be created, indicate its name below:", then the GtkEntry ?
Edited by Jeff Fortin