home/.local/script/gitsave
2024-04-12 14:03:58 -05:00

14 lines
145 B
Bash
Executable File

#!/bin/bash
git add -A
if [ "$#" -eq 0 ]; then
git commit -m "a"
else
array=("$@")
str="${array[@]}"
git commit -m "$str"
fi
git push