WEB/Hochladen.bat

42 lines
2.0 KiB
Batchfile
Raw Normal View History

2016-10-11 19:01:39 +02:00
@echo off
echo ---------------------------------------------------------------I
echo Herunterladen des aktuellen Repositories I
echo ---------------------------------------------------------------I
git pull
echo ---------------------------------------------------------------I
echo Herunterladen beendet I
echo ---------------------------------------------------------------I
echo.
echo.
echo ---------------------------------------------------------------I
echo Einlesen der aktualisierten Dateien I
echo ---------------------------------------------------------------I
git add .
echo ---------------------------------------------------------------I
echo Einlesen beendet I
echo ---------------------------------------------------------------I
echo.
echo.
echo ---------------------------------------------------------------I
echo Eingabe der Bezeichnung des Commits
set /p eingabe=Wie soll der Commit heissen?:
echo ---------------------------------------------------------------I
echo.
echo.
echo ---------------------------------------------------------------I
echo Commit I
echo ---------------------------------------------------------------I
git commit -m "%eingabe%"
echo ---------------------------------------------------------------I
echo Commit beendet I
echo ---------------------------------------------------------------I
echo.
echo.
echo ---------------------------------------------------------------I
echo Hochladen der Veraenderungen I
echo ---------------------------------------------------------------I
git push
echo ---------------------------------------------------------------I
echo Hochladen beendet I
echo ---------------------------------------------------------------I
pause