Skip to content

Instantly share code, notes, and snippets.

@szalapski
Last active February 25, 2024 18:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save szalapski/3e390d32729b591cd3cf4874b42b35b7 to your computer and use it in GitHub Desktop.
Save szalapski/3e390d32729b591cd3cf4874b42b35b7 to your computer and use it in GitHub Desktop.
@rem gcp.bat: Git Add, Commit, Push
@rem USAGE: gcp [just type your commit message without any quotation marks anywhere]
@rem EXAMPLE: gcp code cleanup for abc feature for issue 1234
git add -A && git commit -m "%*"
@if errorlevel 1 goto end
git push
:end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment