I currently have a bitbucket repo and am trying to import it to Gitlab using GitPython and I'm stuck as to how to do this. Is it possible and if so how would I go about doing this?
Asked
Active
Viewed 229 times
1
-
The question is why GitPython? Is there a special use case for that? – René Höhle Jun 14 '19 at 10:51
-
@RenéHöhle not really I thought using GitPython might be the easiest way to do this. Do you think I should use the GitLab API instead? – Banana Boat Jun 19 '19 at 12:09
-
The easiest way is to use the regular command line Git: clone from bitbucket, and push to a fresh empty repo in GitLab. – joanis Jun 20 '19 at 02:00
-
https://stackoverflow.com/questions/1484648/how-to-migrate-git-repository-from-one-server-to-a-new-one – joanis Jun 20 '19 at 02:02