Skip to content

Commit

Permalink
update push bat
Browse files Browse the repository at this point in the history
  • Loading branch information
JusterZhu committed Jan 6, 2025
1 parent 811dcde commit 437c782
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions git_push.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
@echo off

git remote -v

set /p commitmessage=Git commit message:

git add .

git commit -m "%commitMessage%"

echo Pushing to default remote repository...
git push
if %errorlevel% neq 0 (
Expand Down

0 comments on commit 437c782

Please sign in to comment.