- Create a new EMPTY repository in GitLab. (Note: You MUST uncheck "Initialize repository with README")
- Clone from the source remote repository (from e.g. BitBucket, Github):
git clone --mirror git@bitbucket.org:path/to/REPO.git
- Push the local repository to GitLab:
cd REPO.git git push --mirror git@gitlab.com:path/to/REPO.git
No comments:
Post a Comment