personal-site/push.sh
2023-11-01 08:33:29 +01:00

9 lines
119 B
Bash

#!/bin/bash
if [ -z "$1" ]; then
msg="Updates"
else
msg="$1"
fi
git add . && git commit -m "$msg" && git push