Updated gitcommitpush.bat
This commit is contained in:
parent
7d7322f064
commit
baae4ac5c2
1 changed files with 6 additions and 2 deletions
|
|
@ -1,4 +1,8 @@
|
|||
@echo off
|
||||
call git commit -am "More work"
|
||||
call git push
|
||||
set /p commit_message="Enter commit message (or leave blank for default): "
|
||||
if "%commit_message%"=="" (
|
||||
set commit_message=More work
|
||||
)
|
||||
git commit -am "%commit_message%"
|
||||
git push
|
||||
rem --set-upstream origin master
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue