From 9ad993002aba1617c08751e47d698beabce38cdb Mon Sep 17 00:00:00 2001 From: Yoshman29 <81191621+YoshiCrafter29@users.noreply.github.com> Date: Thu, 23 Feb 2023 00:59:27 +0100 Subject: [PATCH] test --- commit-public.BAT | 14 ++++++++++++++ commit.bat | 12 +++++++++++- 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 commit-public.BAT 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