Skip to content

Instantly share code, notes, and snippets.

View the-kenny's full-sized avatar

Moritz von Göwels the-kenny

View GitHub Profile
#!/usr/bin/env bash
# Create a new jj workspace ("worktree") and spawn a command inside it.
# Usage: jj spawn [options] -c <command>
set -euo pipefail
usage() {
cat <<'EOF'
Create a new jj workspace and spawn a command inside it.