Skip to content

Instantly share code, notes, and snippets.

@tln8679
Created November 27, 2018 02:52
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 tln8679/4af31e17b842ce35151c277ff4aaa383 to your computer and use it in GitHub Desktop.
Save tln8679/4af31e17b842ce35151c277ff4aaa383 to your computer and use it in GitHub Desktop.
Simple git pull, stage, commit, push script
#!/bin/bash
git pull
git add --all
git commit -m "$1"
git push -u origin master
echo success
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment