This commit is contained in:
JOLIMAITRE Matthieu 2024-03-10 22:17:38 +01:00
parent a9e1ade4b6
commit 5f3bf3cc48

14
update.sh Normal file
View file

@ -0,0 +1,14 @@
#!/bin/sh
set -e
cd "$(dirname "$(realpath "$0")")"
if [ $# -lt 1 ]
then echo "Usage: update.sh <dir> [msg]" && exit 1
fi
dir="$1"
msg="$2"
git add "$dir"
git commit -m "$dir $msg"
git push