-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: "Create a new branch and switch to it, but keep uncommitted changes" #348
Comments
...or the possibility to commit onto a new branch from the commit dialog, like in TortoiseGit. |
Oh yes, this sounds also very helpful! |
Have just re-read the issue title: if you press the Branch button you can already accomplish what you describe. Give the new branch name, then choose "Switch and move over unsaved changes" (you get prompted for that right away, no need to invoke additional menus or so). Is there something else you need to resolve this issue? |
Ah, then I never dared to click this button because of this misconception! 😆 Maybe the item should be renamed to "Create a new branch and switch to it..." (note the ellipsis) then? |
I wonder whether an additional menu item is really required. What would be the benefit over using the button? |
Tbh I never used this button because I was always unsure whether it would base the new branch on the current working copy, the active branch, the currently selected branch, or the currently selected commit. :-) Maybe we should clarify this first by adding a longer help text to this button? |
I extended the help text. |
In case you want this feature for other commits than the head of the current branch, I would not like to put up a combinatorial explosion of the options in the commit list menu. I would instead propose to show the same prompt that appears if you used the Branch button. |
Thanks for extending the help text!
This sounds useful! As for prioritizing, this is a convenience issue only, as I can also use the branch button today and then reset the newly created branch to an older commit, right? |
No description provided.
The text was updated successfully, but these errors were encountered: