Spaces:
Sleeping
Sleeping
@echo off | |
cd "%~dp0" | |
call git lfs update --force | |
call git lfs install | |
call git fetch | |
call git checkout | |
call git add --all . | |
call git commit -m "commit" | |
( call git rebase ) || ( | |
call :conflicts | |
) | |
( call git push ) && ( | |
echo Finished. | |
pause | |
exit /b 0 | |
) || ( | |
echo Error: Failed to push! | |
pause | |
exit /b 1 | |
) | |
:conflicts | |
echo Please fix the conflicts, then, press any key to continue | |
pause | |
call git add --all . | |
call git rebase --continue || call :conflicts |