-
Notifications
You must be signed in to change notification settings - Fork 145
Open
Description
Hy there I wanted to migrate from gitlab to github using this project. I was very glad to find out that someone put in some effort to make this easier.
I did run into an issue when pusing the repo using the mirror
option:
This is the error I'm getting
remote: fatal: fsck error in packed object
error: remote unpack failed: index-pack failed
This is what I did:
$ git push --no-verify --mirror [email protected]:myusername/project.git
Enter passphrase for key '/Users/myusername/.ssh/id_rsa':
Enumerating objects: 4680, done.
Counting objects: 100% (4680/4680), done.
Delta compression using up to 8 threads
Compressing objects: 100% (1383/1383), done.
remote: error: object 7e79ae8f47d6d441e380ce0c342d2e27ed1217fbd: duplicateEntries: contains duplicate file entries
remote: fatal: fsck error in packed object
error: remote unpack failed: index-pack failed
To github.com:myusername/project.git
! [remote rejected] main (failed)
! [remote rejected] 1.0.x -> 1.0.x (failed)
! [remote rejected] 1.1.x -> 1.1.x (failed)
! [remote rejected] 1.2.3.x -> 1.2.3.x (failed)
! [remote rejected] 1.2.x -> 1.2.x (failed)
! [remote rejected] develop -> develop (failed)
! [remote rejected] master -> master (failed)
! [remote rejected] 0.1 -> 0.1 (failed)
! [remote rejected] 0.2 -> 0.2 (failed)
! [remote rejected] 0.3 -> 0.3 (failed)
! [remote rejected] 0.4 -> 0.4 (failed)
! [remote rejected] 0.5 -> 0.5 (failed)
! [remote rejected] 1.0 -> 1.0 (failed)
error: failed to push some refs to 'github.com:myusername/project.git'
Please note that I created an empty repository on github beforehand.
As I understand this step is mandatory so I do wonder how I may proceed now.
Any help would be greatly appreciated.
Metadata
Metadata
Assignees
Labels
No labels