Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Unable to push on branch created from "checkout" button #1600

Description

@smashwilson

We set the branch upstream correctly, but it looks like git (by default) isn't happy about the branch name disagreement:

pr-1596/atom/aw/package-lock-bunp ↑1 ~\src\github
> git push
fatal: The upstream branch of your current branch does not match
the name of your current branch.  To push to the upstream branch
on the remote, use

    git push origin HEAD:aw/package-lock-bunp

To push to the branch of the same name on the remote, use

    git push origin pr-1596/atom/aw/package-lock-bunp

To choose either option permanently, see push.default in 'git help config'.

Using the more explicit HEAD:... form when we push should serve us better, I think.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugpapercutSmall-scope issues and bugs we can use to backfill our sprint plans

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions