Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン
#399 コメント 2 件 リアクション 17 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
62/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
git, github, go
領域
cli

調査の方向性

gh stack submit と gh stack link のエントリーポイントを追跡し、既存の gh-stack.remote と gh-stack.rerere-declined の設定処理を調べて、ハードコードされたフッターがどこで追加されているかを確認します。要求されているオプトアウトのうち、CLI の規約に適合するものを決定します。完了条件は、フッターがデフォルトで有効なままになり、オプトアウトが設定されているか渡された場合に省略されることです。

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Go
スター
1.5k
フォーク
73
平均マージ
1日 8時間
マージ済み PR(30日)
7

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

github/gh-stack のほかの issue

github/gh-stack の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。