Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

Add a way to turn off the "Stack created with GitHub Stacks CLI" footer

Aberta
#399 2 comentários 17 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
62/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Pouca atividade
Stack de tecnologia
git, github, go
Domínio
cli

Direção de pesquisa

Rastreie os pontos de entrada de gh stack submit e gh stack link e, em seguida, inspecione o tratamento de configuração existente de gh-stack.remote e gh-stack.rerere-declined para descobrir onde o rodapé codificado diretamente é anexado. Decida qual opt-out solicitado se encaixa nas convenções da CLI; a tarefa estará concluída quando o rodapé continuar habilitado por padrão e for omitido quando o opt-out estiver configurado ou for passado.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

feature request topic: cli - submit

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=false git config value (matching the existing pattern of gh-stack.remote), or
  • A --no-footer flag on submit/link

Either would work — the point is just having some opt-out.

Linguagem predominante
Go
Estrelas
1.5k
Forks
73
Merge médio
1d 8h
PRs com merge (30d)
7

Guia de contribuição

Abrir o guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de github/gh-stack

Todas as issues de github/gh-stack

Issues semelhantes

Mais issues de Go

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.