rusefi/misc/git_scripts/git_reset_to_upstream.bat

7 lines
160 B
Batchfile

git remote add upstream https://github.com/rusefi/rusefi.git
git fetch upstream
git checkout master
git reset --hard upstream/master
git push origin master -f