allinix-demo/scripts/prepare-sync.sh

11 lines
179 B
Bash
Raw Normal View History

2025-02-17 19:39:28 +05:30
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