WMarkDown/push.bat

12 lines
150 B
Batchfile
Executable File

@echo off
if "%~1" == "" (
set /p text="Text commit: "
) else (
set text=%~1
)
git pull
git add .
git commit -m "%text%"
git push