allinix-demo/scripts/prepare-sync.sh
2025-02-17 19:39:28 +05:30

11 lines
179 B
Bash

cd "$(dirname "$0")" || exit 1
git reset --hard
git fetch origin
git checkout main
git pull
git branch -d actions/sync --force
git checkout -b actions/sync origin/actions/sync