diff --git a/commit-public.BAT b/commit-public.BAT new file mode 100644 index 00000000..4a4a90b0 --- /dev/null +++ b/commit-public.BAT @@ -0,0 +1,14 @@ +@echo OFF +set /p msg="Commit message: " +echo ============================== +echo Adding all files... +echo ============================== +git add . +echo ============================== +echo Commiting with the message %msg%... +echo ============================== +git commit -m "%msg%" +echo ============================== +echo Pushing... +echo ============================== +git push -u origin main \ No newline at end of file diff --git a/commit.bat b/commit.bat index bc4417b8..303874b3 100644 --- a/commit.bat +++ b/commit.bat @@ -1,3 +1,13 @@ +@echo OFF +echo ============================== +echo Adding all files... +echo ============================== git add . -git commit -m %1 +echo ============================== +echo Commiting with the message %1... +echo ============================== +git commit -m "%1" +echo ============================== +echo Pushing... +echo ============================== git push -u dev main \ No newline at end of file