home/.local/script/gitsave

12 lines
100 B
Bash
Executable File

#!/bin/sh
git add -A
if [ "$#" -ne 1 ]; then
git commit -m "a"
else
git commit -m $@
fi
git push