-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Labels
Description
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
todev
on GitHub - Branch
master
is deleted on GitHub - Git Mirror execution
=> synchronization fail because branchmaster
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.