Skip to content

Default branch deletion #38

@amottier

Description

@amottier

I'm using Git Mirror to synchronize repositories from GitHub to GitLab.

The following scenario will make the synchronization fail:

  • Default branch is master on both GitHub and GitLab
  • Default branch change from master to dev on GitHub
  • Branch master is deleted on GitHub
  • Git Mirror execution
    => synchronization fail because branch master cannot be deleted from GitLab as it's the current default.

Only solution I can think of is that Git Mirror would need to be able to process this default branch information and synchronize it when it exists on both source and destination. I know that this default branch concept is not standard but it is at least available in GitHub and GitLab.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions