Skip to content

Instantly share code, notes, and snippets.

@kinoute
Last active July 22, 2019 19:57
Show Gist options
  • Save kinoute/29b3e7acef63b7cb94cce5a7ef06e302 to your computer and use it in GitHub Desktop.
Save kinoute/29b3e7acef63b7cb94cce5a7ef06e302 to your computer and use it in GitHub Desktop.
Git add, commit, and push, in a single unix alias command.
function acp() {
git add .
git commit -m "$*"
git push origin master
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment