Skip to content

git hub pull new should set tracking branch #266

Open
@nomeata

Description

@nomeata

My workflow is

  • git switch master && git pull
  • git switch -c my_new_branch (or git branch -m my_new_branch)
  • git hub pull new

at this point, git hub creates a new branch fork/my_new_branch. But it does not set it as the tracking branch (i.e. git push -u fork my_new_branch), which means I can’t just update the branch with git push, and I always have to run git push -u fork HEAD.

I wonder if git hub could not do that automatically (at least if no other tracking branch is present).

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-breakingThis is a breaking change, so it should go to the next major versiontype-enhancement

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions