Skip to content

Instantly share code, notes, and snippets.

@akaak
Last active January 1, 2025 14:26
Show Gist options
  • Save akaak/9c2926525e4fc80006dc08b61c78d721 to your computer and use it in GitHub Desktop.
Save akaak/9c2926525e4fc80006dc08b61c78d721 to your computer and use it in GitHub Desktop.
shell alias to push to git
# suggested by https://x.com/ky__zo/status/1872641995703046246
gp() {
git add .
git commit -m "$1"
git push
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment