group git commands in one file gp.bat (GitPush)
علی ذوالفقار
1402/04/09 17:53:59 (308)
create a batch file to group some git commands :
gp.bat
--------------------------------
@echo off
IF [%1] == [] GOTO HELP
git add .
git commit -m %1
git push
echo DONE ;)
GOTO END
:HELP
echo use script as :
echo gp "Commit Message"
:END