Newbie Sourcetree UI / git workflow questions

I am new to Sourctree and have a question about working in branches. 

We have a new Stash repo with a master and develop branch, which currently are identical. If I want to work in the develop branch, do I just click on the name of the branch in the left column?

Also if a user creates a new branch locally and pushes out some files, do other users get notified when they fetch and pull? 

1 answer

1 accepted

0 votes
Answer accepted

(1) You need to double-click the branch to check it out.  Just single-clicking it will highlight it but not check it out.  You can also use the "Checkout" button or the Repository->Checkout menu option or right click the top commit of the branch and select "Checkout" (there's lots of ways of doing everything in SourceTree) - but double-clicking the branch is the easiest.  The currently checked-out branch should be bold on the left under the "BRANCHES" header.

(2) Other users should see the new branch under "REMOTES" once it's been pushed to the server (assuming they are using the same remote) but they won't see any notifications about commits on it unless they pull the branch down to their local system (which they can do do by just double-clicking on it as if they were checking it out while it's remote).



Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 14, 2019 in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder :  #!/bin/bash source "$(dirname "$0")/" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

284 views 0 12
Read article

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you