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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted 44m ago in Confluence

Calling all marketing teams who use Confluence - we want to hear from you!

Hi Community! me again 🙂 If you’re a marketing team using Confluence, we want to hear your story! How did you start using Confluence? What are your use cases? What have been some of the benefits?...

7 views 0 1
Join discussion

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