Jj Push banner
nandofarias nandofarias

Jj Push

Development community

Description

Push all bookmarks in the current stack to the remote. 1. **Show what will be pushed:** ```bash jj bookmark list -r 'trunk()..@' ``` 2. **Push all bookmarks:** ```bash jj git push --all --allow-new ``` Note: If `git.push-new-bookmarks = true` is set in jj config, `--allow-new` is not needed. 3. **Report results.** If push fails (e.g., divergent bookmarks), explain the issue and suggest: - `jj git fetch` first if remote has moved - `jj bookmark set <name> -r <change>

Installation

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

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

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

Full documentation available on GitHub

View Source Repository