Skip to content

Fatal: refusing to merge unrelated histories #1308

Closed

Description

@tierninho

Pushing a local repo that begins with a [space] to dotcom, creates a repo on dotcom called https://github.com/tierninho-tester/-.git

You can have two identical origins, which results in one getting fatal: refusing to merge unrelated histories

f425a25e-2a90-11e7-8637-8789b621c303

Yeah, that's Git freaking out because the initial commit created on dotcom and your local repository don't have a common origin and can't be reconciled.

v0.0.35, OSX 10.11.5,

Semi-related to #1288

Activity

  1. added
    bug
    on Apr 26, 2017
  2. shiftkey commented on May 16, 2017

    @shiftkey
    Member

    I've opened desktop/dugite#93 to track surfacing this error, but I'll rewrite this issue to follow the issue template and sketch out a way out of this.

  3. shiftkey commented on May 16, 2017

    @shiftkey
    Member

    Superseded by #1484

  4. locked as resolved and limited conversation to collaborators on Jul 22, 2018
  5. unlocked this conversation on Sep 27, 2018
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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions