Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

264 pages for commit.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

Agent SDK reference - TypeScript Claude Code CLI · in the page agent-sdk/typescript …`discard_changes` must be `true` when removing a worktree that has uncommitted files or unmerged commits. ### EnterPlanMode **Tool name:** `EnterPlanMode` ```typescript theme={null} type EnterPlan… Manage multiple agents with agent view Claude Code CLI · in the page agent-view …hing, so it survives if you delete the session and its worktree: * **Commit and push**: Claude commits without asking, and pushes the branch when the repository has a remote. * **Draft pull request**… Configure auto mode Claude Code CLI · in the page auto-mode-config …content is also still checked, so a force push, a secret entering the commit, or a change that would send secrets outside the repository when CI or a deploy pipeline runs it stays blocked. If you wan… Best practices for Claude Code Claude Code CLI · in the page best-practices …callback handler, run the test suite and fix any failures. ``` **4. Commit** Ask Claude to commit with a descriptive message and create a PR. ```txt title="claude" wrap theme={null} commit with a… Champion kit Claude Code CLI · in the page champion-kit …md` file, for example a `/ship` skill that runs tests and lint before committing, with a one-line description. Because skills are plain Markdown, colleagues can adopt them immediately. | About five mi… Claude Code changelog Claude Code CLI · in the page changelog …loud session's Changes pane, which now says when it lists only pushed commits or only Claude's edits **62 bug fixes** * Fixed sandboxed Bash commands on macOS and Linux running the shell's startup f… Checkpointing Claude Code CLI · in the page checkpointing …y and collaboration, continue using version control, such as Git, for commits, branches, and long-term history. ## See also * [Interactive mode](/docs/en/interactive-mode.md) - Keyboard shortcuts an… Use Claude Code with Chrome Claude Code CLI · in the page chrome …```text wrap theme={null} Draft a project update based on the recent commits and add it to my Google Doc at docs.google.com/document/d/abc123 ``` Claude opens the document, clicks into the editor, a… Claude apps gateway for Amazon Bedrock, Claude Platform on AWS, Google Cloud, and Microsoft Foundry Claude Code CLI · in the page claude-apps-gateway …l developers or groups so a runaway workload can't consume your whole commitment. [Spend limits](/docs/en/claude-apps-gateway-spend-limits.md) covers the admin API and how enforcement works. * For a c… Claude apps gateway deployment and operations Claude Code CLI · in the page claude-apps-gateway-deploy …f the `claude` binary, so you pay for inference through your existing commitment, plus the compute it runs on. * **Bypass**: the gateway doesn't enforce that the only route to a model goes through it.… Deploy Claude apps gateway on AWS Claude Code CLI · in the page claude-apps-gateway-on-aws …appended), so download it per build rather than pinning a checksum or committing it: ```bash theme={null} curl -fL --proto '=https' -o rds-global-bundle.pem \ https://truststore.pki.rds.amazonaws.c… Claude apps gateway spend limits Claude Code CLI · in the page claude-apps-gateway-spend-limits …r limits, one runaway agent fleet can spend the organization's entire commitment. Spend limits are the gateway's per-developer view and circuit breaker on top of that shared bill. ## Set a cap With… Use Claude Code in the cloud Claude Code CLI · in the page claude-code-on-the-web …rent branch, not your local checkout, so push first if you have local commits. See [Send local repositories without GitHub](#send-local-repositories-without-github) for the cases where Claude Code upl… Explore the .claude directory Claude Code CLI · in the page claude-directory …'file', icon: 'md', color: '#6A9BCC', badge: 'committed', oneLiner: 'Project instructions Claude reads every session', when: 'Loaded into context at the start o… Let Claude coordinate ongoing work with Projects Claude Code CLI · in the page claude-projects …ents-configuration.md#how-each-session’s-config-is-assembled). Skills committed to a repository's `.claude/skills/` don't load in cloud threads. * Plugins: add them in **Project settings > Plugins**;… Scan your codebase for vulnerabilities Claude Code CLI · in the page claude-security …changes), such as a branch's diff, a pull request's diff, or a single commit, then turn the findings you choose into patches that you review and apply yourself. The plugin runs locally in your sessio… CLI reference Claude Code CLI · in the page cli-reference …refusal prints the exact flag and value to pass: `--discard-unpushed <commit>@<worktree-id>` discards a worktree that has unpushed commits along with those commits, and `--force-remove-worktree <workt… Configure cloud environments Claude Code CLI · in the page cloud-environments …that exist only in GraphQL, such as Projects v2, through the proxy. Committed files from public repositories arrive through `raw.githubusercontent.com`, which the [security proxy](#security-proxy) h… Code Review Claude Code CLI · in the page code-review …rkflow can parse with `gh` and jq. To find the check run ID, list the commit's check runs with `gh api repos/OWNER/REPO/commits/<commit-sha>/check-runs --jq '.check_runs[] | {id, name}'` and take the… Customize Code Review Claude Code CLI · in the page code-review-customize …at [Code Review](/docs/en/code-review.md) flags on your repository by committing instructions to it. This is how you cut nit volume, stop comments on generated files, or add a rule your team cares abo… Review locally with /code-review Claude Code CLI · in the page code-review-local …t the review at a pull request, another branch, a path, or a range of commits instead, see [Choose what to review](#choose-what-to-review). You can also add flags: * `--fix`: also asks Claude to app… Read and request reviews on a pull request Claude Code CLI · in the page code-review-pull-requests …pull request still adds and removes the same lines, as after an empty commit, a clean merge of the base branch, or a clean rebase * Nobody has resolved an Important finding's thread since that review… Set up Code Review Claude Code CLI · in the page code-review-setup …such as in a repository set to Manual * **Change what reviews flag**: commit [`REVIEW.md` and `CLAUDE.md` files](/docs/en/code-review-customize) to the repository, for example to add a check Reviews… Troubleshoot Code Review Claude Code CLI · in the page code-review-troubleshooting …session was interrupted before it could finish. A new review of this commit has been queued automatically.", you don't need to do anything. That review is retried once automatically. Otherwise, when… Commands Claude Code CLI · in the page commands …Pass a PR reference to review that pull request, or a base branch or commit to change the comparison base. The preferred invocation is `/code-review ultra`, and `/ultrareview` is an alias. Includes 3… Common workflows Claude Code CLI · in the page common-workflows …sktop app | Tasks that need direct access to local files, tools, or uncommitted changes. | | [GitHub Actions](/docs/en/github-actions.md) | Your CI pipeline | Tasks tied to repo events like opened PRs… Communications kit Claude Code CLI · in the page communications-kit …🌿 *Tip: Hand off the whole git ceremony* The fix took 5 minutes. The commit message, branch, and PR description took 15. That ratio is wrong. Claude handles the full git flow: commits with conventio… Explore the context window Claude Code CLI · in the page context-window …rsion, and whether this is a git repo. Git branch, status, and recent commits load as a separate block.', link: null }, { t: 0.08, kind: 'auto', label: 'MCP tools (deferred)', to… Run Claude Code behind a corporate launcher Claude Code CLI · in the page corporate-launcher …les. Project and local settings can't configure the launcher. A file committed to a repository must not be able to put a binary in front of every Claude Code process on the machine, so Claude Code ig… Launch sessions from links Claude Code CLI · in the page deep-links …igate%20the%20failed%20deploy%20of%20payments-api.%0ACheck%20recent%20commits%20to%20main%20and%20the%20last%20successful%20build. ``` Clicking it opens a new terminal window, starts Claude Code in y… Desktop application Claude Code CLI · in the page desktop …### Review your code To have Claude review your changes before you commit, enter `/code-review` in the [prompt box](#use-the-prompt-box). The findings arrive in the conversation when the review com… Get started with the desktop app Claude Code CLI · in the page desktop-quickstart …code review checklists or deployment steps. **Review changes before committing.** After Claude edits files, a `+12 -1` indicator appears. Click it to open the [diff view](/docs/en/desktop.md#review-… Schedule recurring tasks in Claude Code Desktop Claude Code CLI · in the page desktop-scheduled-tasks …run against whatever state your working directory is in, including uncommitted changes. To give each run its own [isolated Git worktree](/docs/en/desktop.md#run-a-session-in-its-own-worktree) instead… Environment variables Claude Code CLI · in the page env-vars …LE_GIT_INSTRUCTIONS` | Set to `1` to remove built-in commit and PR workflow instructions and the git status snapshot from Claude's context. Useful when using your own git workflow ski… Error reference Claude Code CLI · in the page errors …ktree is still at <path>` | [Background session errors](#worktree-has-commits-that-are-not-pushed-anywhere) | | `kept <id> — <n> unpushed commits on <branch>` | [Background session errors](#worktree-h… Extend Claude Code Claude Code CLI · in the page features-overview …nventions, "always do X" rules | "Use pnpm, not npm. Run tests before committing." | | **[Output style](/docs/en/output-styles.md)** | Instructions that set Claude's role, tone, and response format fo… Claude Code GitHub Actions Claude Code CLI · in the page github-actions …ssue comment to have Claude analyze code, implement changes, and push commits. You can also give the Claude Code GitHub Action a prompt to run automatically on any GitHub event. Use it to turn issues… Use Claude Code GitHub Actions with cloud providers Claude Code CLI · in the page github-actions-cloud-providers …**1. Choose a GitHub identity** The Claude Code GitHub Action pushes commits and posts comments through a GitHub identity. The [quick setup](/docs/en/github-actions.md#quick-setup) installs the offic… Claude Code with GitHub Enterprise Server Claude Code CLI · in the page github-enterprise-server …ew check runs | | Actions | Read | Reading CI status for auto-fix | | Commit statuses | Read | Reading CI status from providers that report commit statuses instead of check runs | | Repository hooks |… Claude Code GitLab CI/CD Claude Code CLI · in the page gitlab-ci-cd …s Claude Code uses GitLab CI/CD to run AI tasks in isolated jobs and commit results back via MRs: 1. **Event-driven orchestration**: GitLab listens for your chosen triggers (for example, a comment t… Glossary Claude Code CLI · in the page glossary …l) * A note that a file Claude read earlier has changed on disk * The commit and pull request attribution lines In a logged API request, a system reminder appears wrapped in `<system-reminder>` tags… Run Claude Code programmatically Claude Code CLI · in the page headless …arlier versions reject it with an unknown-option error. ### Create a commit This example reviews staged changes and creates a commit with an appropriate message: ```bash theme={null} claude -p "Loo… Set up Claude Code (local mode) for a HIPAA-ready organization Claude Code CLI · in the page hipaa-setup …handles a deleted session's worktree in one of these ways: * **No uncommitted changes, the session isn't starred or pinned, and no other session is using the worktree**: Claude Desktop removes the w… Hooks reference Claude Code CLI · in the page hooks …ur machine | | `.claude/settings.json` | Single project | Yes, can be committed to the repo | | `.claude/settings.local.json` | Single project | No, gitignored when Claude Code saves a setting to it |… Automate actions with hooks Claude Code CLI · in the page hooks-guide …"command": "echo 'Reminder: use Bun, not npm. Run bun test before committing. Current sprint: auth refactor.'" } ] } ] } } ``` You can replace the `echo` with any co… How Claude Code works Claude Code CLI · in the page how-claude-code-works …command line, Claude can too. * **Your git state.** Current branch, uncommitted changes, and recent commit history. * **Your [CLAUDE.md](/docs/en/memory.md).** A markdown file where you store project-… Interactive mode Claude Code CLI · in the page interactive-mode …the edits Claude has made so far alongside anything else you haven't committed. What `/diff` opens depends on which renderer is active: * **[Fullscreen rendering](/docs/en/fullscreen.md)**: the [dif… Customize keyboard shortcuts Claude Code CLI · in the page keybindings …Base` | Ctrl+X B | Cycle the panel's comparison base: this session, uncommitted, then branch | | `app:diffFileListUp` | Ctrl+Up, Meta+Up | Scroll the panel's file list up when it overflows | | `app:di… Set up Claude Code in a monorepo or large codebase Claude Code CLI · in the page large-codebases …. Each section notes whether a setting is personal to your machine or committed to the repository. ## What this guide covers The [table below](#settings-on-this-page) lists each setting and what it… Connect Claude Code to an LLM gateway Claude Code CLI · in the page llm-gateway-connect …it, add it to your gitignore yourself first so you don't accidentally commit your credential > [!WARNING] > > Don't put the credential in a project's `.claude/settings.json`. That file is committed a…
Feedback