#!/usr/bin/env bash
set -euo pipefail
# Run in a fresh scratch directory. Requires real GitLab access through git and glab.
git clone https://gitlab.com/julius54/testinggitlab.git fixture
git -C fixture checkout -b t3-16463-settle-final ba0aa647543c5a0901536b272cad3d817065c88d
git -C fixture -c user.name=Scenario -c user.email=scenario@example.invalid commit --allow-empty -m 'Advance source branch after merge for checkout proof'
git -C fixture push origin t3-16463-settle-final
# Run the uploaded scenario with scenarios:prove, then restore the original remote refs:
# git -C fixture push origin --delete t3-16463-settle-final
