datasquirel/push.sh

18 lines
294 B
Bash
Raw Normal View History

2023-12-15 10:08:23 +00:00
#!/bin/bash
2024-10-14 08:14:20 +00:00
root_dir=/media/benoti/Ubuntu-Disk/Github/dsql
2023-12-15 10:08:23 +00:00
if [ -z "$1" ]; then
msg="Updates"
else
msg="$1"
fi
2024-10-14 08:21:55 +00:00
# cp "$root_dir/package-shared/types/"* "$root_dir/types/" ||
# {
# echo "Copy Failed!"
# exit 1
# }
2024-10-14 08:14:20 +00:00
2023-12-15 10:08:23 +00:00
git add . && git commit -m "$msg" && git push