The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

workflow using branches to separate coding projects (bugs, features in progress etc)

Sean Allen
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 9, 2012

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?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
stevestreeting
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
February 9, 2012

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.

TAGS
AUG Leaders

Atlassian Community Events