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?
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.
Hi folks, While the full post is over on our blog I'd like to share the dark theme we've got planned for 2019 here directly as well to keep the discussion going. The ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events