I think this one will actually work (and be more reliable), as it resets to the local master branch (master), not the remote one (mortar/master).