Skip to content

Instantly share code, notes, and snippets.

@AngheloAlf
Created July 13, 2018 19:16
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 AngheloAlf/95b02a149484ec0cf6afe195098f82c4 to your computer and use it in GitHub Desktop.
Save AngheloAlf/95b02a149484ec0cf6afe195098f82c4 to your computer and use it in GitHub Desktop.
A little bash script for commiting files.
git add -A
if [ $# -eq 0 ]
then
git commit -a -m "autopush"
else
git commit -a -m "$1"
fi
git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment