summaryrefslogtreecommitdiff
path: root/bin/.local/bin/gitit
blob: af3eeeccd167ad30048edca1d3e9e98cf148f61c (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
set -e
printf "\033[0;32mDeploying updates to GitHub...\033[0m\n"
git add .
msg="changes"
if [ -n "$*" ]; then
	msg="$*"
fi
git commit -m "$msg"
git push origin master