Spaces:
Running
Running
File size: 457 Bytes
fb4e2c7 ddaa220 fb4e2c7 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
@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 |