Add commit script
This commit is contained in:
parent
be4c358070
commit
11acbd0a53
1 changed files with 6 additions and 0 deletions
6
commit.sh
Executable file
6
commit.sh
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
GIT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)
|
||||
cd $GIT_DIR
|
||||
git add .
|
||||
git commit -m "Automated backup: $(date +'%Y-%m-%d %H:%M:%S')"
|
||||
git push origin main
|
Loading…
Reference in a new issue