Skip to content

Instantly share code, notes, and snippets.

@simonjenny
Created March 13, 2019 14:13
Show Gist options
  • Save simonjenny/aaf98b5b220008a4023bef7cfe361acf to your computer and use it in GitHub Desktop.
Save simonjenny/aaf98b5b220008a4023bef7cfe361acf to your computer and use it in GitHub Desktop.
Git all in one..
#!/bin/bash
if [ -z "$1" ]
then
echo "Commit Reason is empty"
exit 0
fi
~/Development/./clean.sh
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