Add a way to turn off the "Stack created with GitHub Stacks CLI" footer
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 62/100
Piste de recherche
Suivez les points d’entrée de gh stack submit et gh stack link, puis examinez la gestion de configuration existante de gh-stack.remote et gh-stack.rerere-declined afin de déterminer où le pied de page codé en dur est ajouté. Déterminez quelle option de désactivation demandée correspond aux conventions de la CLI ; le travail est terminé lorsque le pied de page reste activé par défaut et est omis lorsque l’option de désactivation est configurée ou transmise.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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.
- Langage dominant
- Go
- Étoiles
- 1.5k
- Forks
- 73
- Merge moyen
- 1 j 8 h
- PR mergées (30 j)
- 7
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de github/gh-stack
-
Difficulté 2/5 1-3 heures Accessibilité débutants 85/100
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 92/100
-
feature request topic: cli - general
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
-
feature request topic: auto-merge
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
-
bug topic: docs
Difficulté 1/5 Moins d'une heure Accessibilité débutants 68/100
Toutes les issues de github/gh-stack
Issues similaires
-
textual definition
Difficulté 1/5 Moins d'une heure Accessibilité débutants 90/100
geneontology/go-ontology#32653 ·
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 75/100
-
needs design
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
-
Priority/High ready-for-agent Severity/Major Type/Bug
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100