claude-code - 💡(How to fix) Fix Add setting to hide/disable the 'Create PR' button in the git status bar [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#48765Fetched 2026-04-16 06:51:35
View on GitHub
Comments
0
Participants
1
Timeline
2
Reactions
0
Author
Participants
Timeline (top)
labeled ×2

Add a configurable setting to hide or disable the Create PR button that appears in the git status bar when Claude Code detects a branch diverged from another.

Root Cause

Add a configurable setting to hide or disable the Create PR button that appears in the git status bar when Claude Code detects a branch diverged from another.

Code Example

// ~/.claude/settings.json
{
  "showCreatePrButton": false
}
RAW_BUFFERClick to expand / collapse

Feature Request

Summary

Add a configurable setting to hide or disable the Create PR button that appears in the git status bar when Claude Code detects a branch diverged from another.

Current Behavior

When on a branch with commits ahead of another (e.g., master ← claudio), a persistent Create PR button appears in the status bar UI. There is no setting to hide or remove it.

promptSuggestionEnabled: false does not affect this button — it only controls suggestion chips in the input area.

Desired Behavior

A setting such as showCreatePrButton: false (or extending promptSuggestionEnabled to cover this button) that allows users to hide the Create PR button from the status bar.

Use Case

Some users manage PRs externally (via CLI, GitHub UI, etc.) and find the persistent button unnecessary UI noise. Others may have workflows where the button is not applicable.

Proposed Setting

// ~/.claude/settings.json
{
  "showCreatePrButton": false
}

extent analysis

TL;DR

Adding a configurable setting like showCreatePrButton to the user settings could allow hiding the Create PR button in the git status bar.

Guidance

  • Review the existing settings structure in ~/.claude/settings.json to determine the best way to integrate the proposed showCreatePrButton setting.
  • Consider extending the functionality of promptSuggestionEnabled to also control the visibility of the Create PR button, if feasible.
  • Evaluate the impact of adding a new setting on the overall user experience and configuration complexity.
  • Discuss the proposed setting with the development team to ensure consistency with the application's design principles and user interface guidelines.

Example

// Example configuration with the proposed setting
{
  "showCreatePrButton": false,
  "promptSuggestionEnabled": false
}

Notes

The implementation details of the proposed setting are not specified, and the exact steps to integrate it into the application may vary depending on the underlying codebase and architecture.

Recommendation

Apply workaround: Implement the proposed showCreatePrButton setting or extend the promptSuggestionEnabled setting to control the Create PR button visibility, as this directly addresses the user's request for customization.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING