File size: 299 Bytes
d386e09 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
#!/bin/bash
git config user.name "anonymous"
git config user.email [email protected]
if [[ "$1" == "" ]]; then
comment="auto"
else
comment="$1"
fi
git reset
#git add *.* --force
#git add *
git add --all
echo ----- git add done ------
git status
git commit -m "$comment"
git push -u origin main
|