Skip to content

Instantly share code, notes, and snippets.

@rmacster
rmacster / github-to-gitlab.txt
Created May 12, 2022 20:16
Move a github repo to gitlab
To move a repo to gitlab from github:
1. create ssh keys for gitlab if needed.
very good instructions for this step are on the gitlab site. See:
https://docs.gitlab.com/ee/user/ssh.html
2. tell ssh how to access those keys if they're in a different directory.
eval $(ssh-agent -s)
ssh-add /home/azureuser/.ssh/gitlab/id_ed25519 // the path to your gitlab ssh keys