Skip to content

Instantly share code, notes, and snippets.

@tombohub
Created October 5, 2020 21:58
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 tombohub/c0c9ab2688b9ccd18ec89dd35af9778a to your computer and use it in GitHub Desktop.
Save tombohub/c0c9ab2688b9ccd18ec89dd35af9778a to your computer and use it in GitHub Desktop.
Git add commit and push all in one go
#!/bin/bash
git add .
git commit -m "$1"
git push
## usage:
## ./git-push.sh 'your commit comment here'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment