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