If for whatever reasons, you feel the need to migrate from Github to another service, it’s actually quite easy, and I’ve tried it with Gitlab, which offers a very easy solution to import your code repositories from Github.
First, you’ll need to sign-in to Gitlab. That part does not need explanation. The next step is to go to Settings->Account, and in the Social Sign-in section, connect Gitlab to your Github account.
After logging in to your Github account, youl should be set. Now click on the + icon on the op of the web page, and select New Project.
You’ll be asked to input your Github password again, and be brouhgt to your list of repositories. Now you can simply click on Import all repositories if you wish to do so, or only select the ones you want to import one by one.
I clicked on Import all repositories, and all my own projects – including the one I forked – could be imported, but I also got an error: “an error occurred while importing project “. This is for projects I’m a member of, but which are not directly associated to my Github account.
For example, imx6-dongle/linux-imx and linux-sunxi/sunxi-tools failed to import. If that’s the case I cannot explain why linux-sunxi/sunxi-bsp was imported successfully however.
Anyway, the import process was easy enough, and you still have all your commits and messages shown in Gitlab.
I think the process is easy enough, but if you have any issues, Gitlab uploaded a video on YouTube to help you out.
Gitlab is free to use if you are limited needs, but they also have paid plans for more demanding requirements. However, XDA Developer has just reported that GitLab Ultimate and GitLab Gold are now free for open source projects and education, so it may be worthwhile to benefit from this offer.
Jean-Luc started CNX Software in 2010 as a part-time endeavor, before quitting his job as a software engineering manager, and starting to write daily news, and reviews full time later in 2011.