hellen-one/git_scripts/git_reset_to_upstream.bat

4 lines
97 B
Batchfile
Raw Permalink Normal View History

2021-05-06 06:02:40 -07:00
git fetch upstream
git checkout master
git reset --hard upstream/master
git push origin master -f