I have the following scenario:
I have my remote branch equal to my local branch. Then I made some changes in the remote branch and some different changes in my local branch.
My idea is to run git fetch
, to sync my local branch, then check the differences, and then push everything, but it simply doesn't work! (git fetch
seems to not get the changes made in the remote branch before)
I know running git pull
"fixes" this, or git push -f
but I want to review the changes before commit.
Why doesn't git fetch
work as expected? Or how can I otherwise review the differences before commit?