I have this scenario when use TortoiseGit.
A use the Reset master to this...
to revert some changes and force pushed to the remote refs master.
B pull the code and said Already up-to-date
. And use the show log said the local master is before origin/master
.
I know using the git command git reset --hard origin/master
will fix this for me.
I would like to know how to overidde local master with remote origin/master using TortoiseGit?
Thanks.
You need to switch in the log to remotes/origin/master
All the steps: