When should I see colored branches in SourceTree graph using git-flow?

I am using SourceTree and the git-flow process and I'm confused as to when I should see colored branching in my graph.

It seems that whether I work in the develop branch, create features, or switch back to master, I don't see my graph split (except one time it did--I think when I pushed a feature up to my remote repo).

Please explain.

1 answer

There is a dropdown above the graph that lets you choose to see all branches or just your current branch. Beside this is a checkbox for whether to show remote branches. If you choose "Current Branch", it will only show the branch you have checked out, and any branches that are merged into it.

Using git-flow should not have any effect on how graphing works.

Also, the graph won't split when you create and commit to a branch unless you (or someone else, if you are showing remote branches) commits to the parent branch. At the very latest, this will happen on the merge if you expressly prevent Git from doing a fast-forward merge.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted 10 hours ago in United States

Confluence Security Advisory

Good morning Members, Not sure if you are aware. Please read the following: https://www.icloud.com/keynote/0RyJ4VEdNUpjDpGfMhfZx9fEg#Confluence_Security_Advisor More details: https://co...

24 views 1 0
View post

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