github / github/gh-stack

Set branch upstream

Aberta
#331 1 comentário 12 reações 0 responsáveis Ver no GitHub
bug topic: cli - general
Linguagem predominante
Go
Estrelas
1.5k
Forks
70
Merge médio
1d 8h
PRs com merge (30d)
7

Descrição

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.

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

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.

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

Avaliação

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

Receba novas issues na sua caixa de entrada

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