I'd like to use keep coding projects separate, such as bug fixes in progress, and features in progress. I tried using the Branch button to create a new branch from top of tree, but when I tried to use the new branch changes were also applied to my original master branch.
Anyone know the correct workflow using SourceTree for git?
When you create a new branch in git inside SourceTree, there's a checkbox that says 'Checkout new branch'. If you want to start working on this branch once you've created it, you should leave this option checked.
At any time you can switch branches in SourceTree by double-clicking one in the sidebar. Any commits you do from then on will be pointed to by that branch, until you checkout another branch. This is how git works generally, SourceTree just gives you an interface to it.
Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG