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
Posted Oct 08, 2018 in Teamwork

If you could delete any meeting from your calendar, which one would it be?

Let’s face it: most of us have too many meetings on our calendars. And few things are a bigger waste of time than recurring meetings that no longer provide any value to attendees (or the busines...

375 views 11 9
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