Why do commits to a branch show up in the history for master?

Hello,

Git 1.8 on Win7; latest SourceTree.

I have an original 'master' branch, and a 'work' branch. After making several commits to 'work', I browsed 'master' in SourceTree, and saw all the commits made to 'work' listed.

That seems wrong; what am I misunderstanding?

Thanks for any insight....

1 answer

Maybe I'm misunderstanding, but I don't see the commits in a branch, I do see the other branches in the Graphs view/column when I have the 'All Branches' select box option on. Selecting just 'Current branch' only shows current branch commits

Suggest an answer

Log in or Sign up to answer
Community showcase
Published yesterday in Feedback & Announcements

How do you analyze GC logs, thread dumps and head dumps?

Hi awesome community!  In this article, I would like to describe the one of the toolset (service) for the analyze some problems on different Java-based instances, of course, as Atlassian admini...

48 views 0 5
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