#!/usr/bin/env bash
set -euo pipefail

REPO="/home/intel145/git.repository"
WORKTREE="/home/intel145/websites/git.test"
ls -l $WORKTREE
exit

echo "== repo =="
git -C "$REPO" status --short --branch

echo
echo "== fsck =="
git -C "$REPO" fsck --full

echo
echo "== worktrees =="
git -C "$REPO" worktree list --porcelain

echo
echo "== worktree status =="
git -C "$WORKTREE" status --short --branch
