| git config user.name "anonymous" | |
| git config user.email my@gmail.com | |
| 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 | |