Skip to content

Commit 06e5ebc

Browse files
committed
.
1 parent 3bd1270 commit 06e5ebc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

git-commit-push.bat

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
echo Current folder: %cd%
44

5-
git status --porcelain > nul
6-
if errorlevel 1 (
5+
for /f "delims=" %%i in ('git status --porcelain') do set status=%%i
6+
if not defined status (
77
echo There are no changes to the repository.
88
pause
99
exit /b 0

0 commit comments

Comments
 (0)