{"version":"2.1.331","anchor":"ship-now-also-pushes-to-your-own-open-pr-with-a-confirmati","canonical_anchor":"ship-now-also-pushes-to-your-own-open-pr-with-a-confirmati","heading":"\/ship in VS Code and desktop can commit and push for you after a confirmation card","tier":"use","area":"Ship","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331\/e\/ship-now-also-pushes-to-your-own-open-pr-with-a-confirmati","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331","markdown":"### \/ship in VS Code and desktop can commit and push for you after a confirmation card\n\nIn VS Code and the desktop app, \/ship asks on a card before it commits, pushes and opens a pull request as you, and refuses public repositories\n\n**What**\n\n`\/ship` is the command that takes your local work and puts it up as a pull request, which is a request to merge your changes into the shared code. It now shows a permission card, a box asking you to allow or decline, before it acts:\n\n- For a branch with no pull request yet: \"Commit your changes, push them and open a pull request, as you?\"\n\n- For a branch that already has an open pull request: \"Push your commits and open a pull request, as you?\"\n\nThe card appears only when Claude Code runs inside the VS Code extension (`claude-vscode`) or the desktop app (`claude-desktop`) and talks to it over stdio, its standard input and output. Allow is offered only when the environment variable `CLAUDE_CODE_LAZY_WORKTREE` is not set. A few rules apply:\n\n- A public repository is refused with \"This repository is public, and from this window \/ship doesn't push to a public one.\"\n\n- An Allow clicked within 3.5 seconds of the card appearing is rejected with \"That Allow came before the card could be read.\"\n\n- The consent text for watching a pull request has a new bullet about committing and pushing uncommitted changes onto your own pull request.\n\nOther parts of `\/ship` changed too. The progress message now shows the pull request's title and description under \"Its title:\" and \"Its description:\". When there is a single commit, a title and description written from the session are used. Otherwise the title comes from the subject line of the first commit that is not a merge, fixup or squash commit. When your branch has no upstream (the remote branch it tracks), `\/ship` no longer runs `git branch -u` and instead advises naming the remote, because setting an upstream changes git's configuration and ends a watch running in the session.\n\n**Why**\n\nIn VS Code and the desktop app, `\/ship` can now commit and push work on your behalf once you allow it, so it is worth checking what is in your working copy before clicking Allow. The delay on Allow guards against approving the card by accident.\n\n- Area: Ship\n- Names: `\/ship`\n- Tier: Use it now\n- Useful: 3\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: yes"}