unity-mcp/tools/update_fork.sh

9 lines
128 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
git checkout main
git fetch -ap upstream
git fetch -ap
git rebase upstream/main
git push