14 lines
235 B
Bash
Executable File
14 lines
235 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
cd /opt/appfactory/workspace/appfactory-tools
|
|
|
|
git add -A
|
|
|
|
if ! git diff --cached --quiet; then
|
|
git commit -m "Auto-save local changes before pull"
|
|
fi
|
|
|
|
git pull --rebase origin main
|
|
|
|
echo "DONE" |