Forums

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

Visualizing history in Source Tree

Oscar Alvarez (Alvargon) February 27, 2018

hi there, I have some problems with source tree, before I can create a branch an see it in the graph, but now all the branches are in the same place, master. What could be the problem? Maybe am I doing something wrong?

 

Look the img, 90% o fthe comits are branches:

 

Captura.PNG

3 answers

0 votes
retepv_1st
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!
May 19, 2025

Weird. After I merged the "fix-not-all..." branch back into "master", I suddenly see the branch appear in the graph.

Screenshot 2025-05-19 at 15.07.14.png

 

Before I post a million more posts, I'll hang on until someone replies. ;)

0 votes
retepv_1st
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!
May 19, 2025

Today, I noticed the same thing happening to me. Check out the screen shot. There are 2 branches (and a master branch), and I have made commits and pushed in all of them. And one (the "change_b..." branch) was merged back into master.

But I don't see any of that in my branch graph, there is just one line. Please check the screen shot.

Screenshot 2025-05-19 at 14.23.03.png

 

I have also made a screenshot of git log --graph. When making these screenshots, my working branch was "fix-not-all...".

 

Screenshot 2025-05-19 at 14.17.19.png

 

I'm using git version 2.49.0 on a MacBook.

 

I guess Sourcetree uses the output of 'git log --graph', so this seems to be a problem of git. Or maybe they changed some options.

0 votes
minnsey
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 27, 2018

Hi

Have you made any commits to those branches? If not they will just appear as markers against the commit they were branched from. 

Oscar Alvarez (Alvargon) February 27, 2018

I have 3 even 5 commits in some branches .

minnsey
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 6, 2018

if you run 

>git log --graph

what do you see?

Oscar Alvarez (Alvargon) March 6, 2018

Hi, similar to the first imagen, only one line of commits and branches. 

minnsey
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 20, 2018

OK, so Sourcetree is correctly reflecting the git view of the repository?

Do you get any difference if you change the graph between data and ancestor order?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events