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