autopid/git_scripts/git_reset_to_upstream.bat

4 lines
97 B
Batchfile
Raw Permalink Normal View History

2019-10-23 10:28:37 -07:00
git fetch upstream
git checkout master
git reset --hard upstream/master
git push origin master -f