Skip to content
This repository was archived by the owner on Mar 13, 2024. It is now read-only.
This repository was archived by the owner on Mar 13, 2024. It is now read-only.

Root commit vs origin commit. #57

@gilesknap

Description

@gilesknap

For the project https://github.com/gilesknap/mciwb, I'm trying to pull main from skeleton like so

git pull git@github.com:DiamondLightSource/python3-pip-skeleton.git main

This causes unexpected results. It seems to be replaying all of mciwb commits as a rebase over the last skeleton commit.

Resolving the initial rebase merge conflict with mciwb's initial commit results in:

image

If you look in the history of skeleton main I squashed it down to a single commit after the initial commit and made that single commit the origin for skeleton adoption.

The new origin commit is de6d5f1
The old origin commit (which is also the initial commit) is ededf00

It seems that having the origin commit not be the same as initial commit is causing this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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