push-to-remote-git-repository.bat 153 B

123456789101112131415
  1. @echo off
  2. setlocal EnableExtensions
  3. cd /d "%~dp0.."
  4. if "%~1"=="" (
  5. git push
  6. goto finish
  7. )
  8. git add -A
  9. git commit -m "%*"
  10. git push
  11. :finish
  12. endlocal