Add a way to turn off the "Stack created with GitHub Stacks CLI" footer
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 62/100
Rechercherichtung
Verfolge die Einstiegspunkte von gh stack submit und gh stack link und untersuche anschließend die bestehende Konfigurationsverarbeitung für gh-stack.remote und gh-stack.rerere-declined, um herauszufinden, wo der hartcodierte Footer angehängt wird. Entscheide, welche der angeforderten Opt-out-Optionen zu den CLI-Konventionen passt; fertig ist die Änderung, wenn der Footer standardmäßig aktiviert bleibt und weggelassen wird, sobald das Opt-out konfiguriert oder übergeben wird.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Problem
Every PR that gh stack submit or gh stack link creates gets this line appended to the bottom of the description:
Stack created with GitHub Stacks CLI • Give Feedback 💬
There's currently no flag, git config, or environment variable that turns it off. I checked the binary (strings on the compiled extension) — the only gh-stack.* git-config keys it reads are gh-stack.remote and gh-stack.rerere-declined. The footer HTML is a hardcoded string, not templated or gated by anything.
Why this matters more than a cosmetic PR-description line
On repos that use GitHub's squash-merge with "default to pull request title and description" — a common, often-default setting (squash_merge_commit_message: "PR_BODY" in the repo API) — the PR body becomes the literal squash commit message when the PR merges.
That means this footer doesn't just live in the PR UI temporarily. It gets written into the permanent, immutable git log of the target branch, on every single stacked PR, forever.
Prior art
Claude Code ships a documented includeCoAuthoredBy setting in settings.json specifically to let users disable the "🤖 Generated with Claude Code" / "Co-Authored-By: Claude" trailer it otherwise adds to commits and PRs — for the same underlying reason: that text ends up permanently in shared git history, not just in a UI a user can dismiss. The same reasoning applies here.
Request
A way to suppress the footer, e.g.:
- A
gh-stack.footer=falsegit config value (matching the existing pattern ofgh-stack.remote), or - A
--no-footerflag onsubmit/link
Either would work — the point is just having some opt-out.
- Vorherrschende Sprache
- Go
- Sterne
- 1.5k
- Forks
- 73
- Ø Merge
- 1 T. 8 Std.
- Gemergte PRs (30 T.)
- 7
Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus github/gh-stack
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 92/100
-
feature request topic: cli - general
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
-
feature request topic: auto-merge
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
-
bug topic: docs
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 68/100
Alle Issues in github/gh-stack
Ähnliche Issues
-
textual definition
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 90/100
geneontology/go-ontology#32653 ·
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 75/100
-
needs design
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
-
Priority/High ready-for-agent Severity/Major Type/Bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100