home/private_dot_local/script/executable_gitsave

14 lines
148 B
Plaintext
Raw Normal View History

2024-08-12 08:56:57 +00:00
#!/bin/bash
git add -A
if [ "$#" -eq 0 ]; then
git commit -m "noot"
else
array=("$@")
str="${array[@]}"
git commit -m "$str"
fi
git push