- I checked out
master
and then created a branch out of it (with checkout):patchA
- I made some changes, committed, pushed, even made a pull request for branch
patchA
- Pull Request has not yet been reviewed (and not yet merged into
master
, of course) - I then created another branch out of
master
(with checkout):patchB
- I made some changes, didn't even commit those...
*** Now, I wanted to take a look into patchA
, so I checked it out - I see my changes that I pushed but also the changes I made in patchB
!
Why is that? I thought the whole idea of branches is to isolate work, to make things a little neater for delivering units of work and reviewing them...
More info: When checking out patchB
, I don't see the changes from patchA