autopid/git_scripts/git_reset_to_upstream.bat

4 lines
97 B
Batchfile

git fetch upstream
git checkout master
git reset --hard upstream/master
git push origin master -f