improve Git workflow
parent
7b998afc08
commit
116c55cf22
7
MAKE.bat
7
MAKE.bat
|
@ -234,6 +234,10 @@ if "%1"=="dpush" (
|
|||
if "%1"=="push" (
|
||||
call make.bat tidy
|
||||
|
||||
if "%2"=="dp" (
|
||||
call MAKE.bat dpush auto
|
||||
)
|
||||
|
||||
git diff --quiet --exit-code
|
||||
if !ERRORLEVEL! neq 0 (
|
||||
echo There are uncommitted changes. Please commit or stash them before pushing.
|
||||
|
@ -252,9 +256,6 @@ if "%1"=="push" (
|
|||
)
|
||||
|
||||
git status
|
||||
if "%2"=="dp" (
|
||||
call MAKE.bat dpush auto
|
||||
)
|
||||
rem git add .
|
||||
git commit
|
||||
git diff --quiet --exit-code --cached
|
||||
|
|
Loading…
Reference in New Issue