Created
March 21, 2021 22:06
-
-
Save xypnox/f3d8884f1f961d1945d30edc6b8c96e8 to your computer and use it in GitHub Desktop.
update.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
gstatus=`git status --porcelain | head -n 20` | |
if [ ${#gstatus} -ne 0 ] | |
then | |
git add --all | |
git commit -m "Auto Commit" -m "$gstatus" | |
git push | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment