Forums

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

How do I branch from another branch in SourceTree?

RaChen
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!
June 10, 2019

After I clone the repository, I just see master branch. When I click branch it always branches from master. How do I branch from other branches? 

2 answers

1 vote
RaChen
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!
June 10, 2019

Source tree lets me branch from a specific branch if i check out to it first. The current branch in Branch dialog could be a list of valid branches under the repository instead of a label of current branch.

0 votes
Mikael Sandberg
Community Champion
June 10, 2019

Hi Raghu,

Welcome to the Atlassian Community.

When you clone a repository, you will automatically clone it with master as your default branch. You can choose a different branch by clicking Advanced when cloning in Sourcetree.

Git/Sourcetree will always by default create a new branch of from the current branch you are on. You also have the option to branch off of a specific commit.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events