Hi.
From the command line, I can create a branch from master (and call it a hotfix/foo) or develop (and call it feature/bar) with uncommitted changes in the checkout.
I can then use SourceTree / git-flow to finish commit and finish the branch.
But I can't create them in SourceTree if the checkout is dirty.
It would be really useful to be able to do so from within the UI (I like the UI and can't remember the command line so easily for git).
I so often forget to create the hotfix branch first, make some changes, test them and then realise I want a hotfix. A solution is to stash, create hotfix restore stash, but it would be REALLY nice to just create the hot fix with the dirty master checkout. And to be able to do that from within the UI.
Any possibility of this?
Regards,
Richard.
I'm assuming by "dirty" that you mean you have uncommitted changes. I've never had a problem creating a branch in that state. I do have problems pulling, and sometimes have problems switching branches (both of which make sense to be problems), but if I am trying to branch from the commit that I am working on, no problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.