DEV Community

[Comment from a deleted post]
Collapse
 
pbouillon profile image
Pierre Bouillon

Hey there !

I know that you can import your repository from GitLab to GitHub using this button:

import button

If you have another repository and want to push to it, you may want to change the repository URL as said in this answer on SO: git remote set-url origin new.git.url/here

I don't know if this will solve your problem but at least I hope it will help !

Collapse
 
bertheyman profile image
Bert Heyman

Great answer! Have switched repo's from host with a new origin url before and worked like a charm, so can recommend this :) However the included option in Github might be even easier.