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

Set branch upstream

オープン
#331 コメント 1 件 リアクション 12 件 担当者 0 名 GitHub で見る

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

評価

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

調査の方向性

Go CLI での gh stack init と push のフローを、ブランチが origin に push される箇所から追跡してください。スタックされたブランチで結果の動作を確認してください。最初の push でその upstream が設定され、その後の git pushgit pullgit status コマンドではその関連付けが使用または報告される必要があります。

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

説明

bug topic: cli - general

Many tools expect to be able to find the associated upstream for a given branch; gh stack currently manages that internally.

When one does gh stack init some-branch, then at such time as gh stack actually pushes the branch to origin, it should do the equivalent of git push --set-upstream origin some-branch in order to create the association.

This lets the user push future changes with just git push (and check for updates with git pull), as well as letting git status show relative differences.

主要言語
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 を短くまとめたダイジェスト。