9 lines
235 B
Bash
Executable File
9 lines
235 B
Bash
Executable File
#!/bin/bash
|
|
|
|
SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
|
|
echo $SCRIPT_DIR
|
|
|
|
git -C "$SCRIPT_DIR" add .
|
|
git -C "$SCRIPT_DIR" commit -m "Update for $(date "+%d-%m-%y %R")"
|
|
git -C "$SCRIPT_DIR" push
|