models / commit.sh
Viperboy123's picture
init_tree
d386e09
raw
history blame
299 Bytes
#!/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