Skip to content

Set branch upstream #331

Description

@dbushong

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions