Skip to content

Cannot pull after cloning a truly empty repository #4574

@MCF

Description

@MCF

Description

If you clone a truly empty repository (no files, no commits yet) from an SSH source github desktop will not let you pull or fetch. The normal pull/fetch/push tab shows the message "cannot publish unborn head" and does nothing. The push and pull menu items in the Repository menu are disabled.

If someone else adds files and commits to the remote repository you cannot subsequently do a pull or fetch to pull them in via github desktop. Obviously you can drop into command line git to do so but this does not seem like an advanced use-case that would require git to solve.

Version

  • GitHub Desktop: 1.1.1
  • Operating system: Windows 7, 64 bit

Steps to Reproduce

Clone an empty repository (no commits) from an SSH source

Expected Behavior

You would still be able to pull/fetch from the remote.

Actual Behavior

Pull/fetch is disabled (apparently) through all controls.

Additional Information

Logs

Nothing relevant in the logs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugConfirmed bugs or reports that are very likely to be bugshelp wantedIssues marked as ideal for external contributorspriority-3Bugs that affect small number of users and/or relatively cosmetic in nature

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions