github / github/gh-stack

Set branch upstream

オープン
#331 コメント 1 件 リアクション 12 件 担当者 0 名 GitHub で見る
bug topic: cli - general
主要言語
Go
スター
1.5k
フォーク
70
平均マージ
1日 8時間
マージ済み PR(30日)
7

説明

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.

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

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

調査の方向性

Trace the `gh stack init` and push flow in the Go CLI, starting where a branch is pushed to `origin`. Confirm the resulting behavior with a stacked branch: the first push should establish its upstream, and subsequent `git push`, `git pull`, and `git status` commands should use or report that association.

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

評価

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

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

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