Jj Submit banner
nandofarias nandofarias

Jj Submit

Git community

Description

Submit the entire stack: push all bookmarks and create/update GitHub PRs with correct base branches. Options from arguments: $ARGUMENTS - `--draft`: Create new PRs as drafts - `--dry-run`: Show what would happen without making changes ## Steps ### 1. Get the ordered stack with bookmarks ```bash jj log -r '(trunk()..@) ~ trunk()' --no-graph --reversed -T 'change_id.shortest(8) ++ "\t" ++ bookmarks.join(",") ++ "\t" ++ description.first_line() ++ "\n"' ``` This lists changes from bottom (clos

Installation

Installs to ~/.claude/commands/nandofarias-dotfiles-jj-submit.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/nandofarias/dotfiles/HEAD/.claude/commands/jj-submit.md -o ~/.claude/commands/nandofarias-dotfiles-jj-submit.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository