git reset hard to master python Copy 1 2git fetch origin master git reset --hard origin/master Share this: