18 lines
315 B
Batchfile
18 lines
315 B
Batchfile
|
|
@echo off
|
||
|
|
cd /d "%~dp0"
|
||
|
|
|
||
|
|
cmdkey /delete:git:http://naswinterthur:3005 >nul 2>nul
|
||
|
|
cmdkey /delete:legacyGeneric:target=git:http://naswinterthur:3005 >nul 2>nul
|
||
|
|
|
||
|
|
git add .
|
||
|
|
git diff --cached --quiet
|
||
|
|
if %errorlevel%==0 (
|
||
|
|
echo Keine Aenderungen zum Hochladen.
|
||
|
|
pause
|
||
|
|
exit /b
|
||
|
|
)
|
||
|
|
|
||
|
|
git commit -m "update"
|
||
|
|
git push
|
||
|
|
pause
|