Github is by far the most popular web-based hosting service for version control using Git, but it’s not the only option as Gitlab and Bitbucket offer alternatives.
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.
Click on the Import project tab, and import project from Github.
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.
Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress
If you prefer Bitbucket -> https://confluence.atlassian.com/bitbucket/import-a-repository-from-github-or-gitlab-951409524.html
SourceForge has promoted such a system to import from Github too : https://sourceforge.net/p/forge/documentation/GitHub Importer/
Else there are lot of community hub, like framagit, GNU Savannah + It’s possible to install own instance of cgit, gitlab, gitea, savannah, Apache Allura (used by sourceforge), etc….. go language scripted gitea and gogs are powerfull but light enough to be histed on aa SGC like Raspb Pi.
Thank you for the timely article..
go-gitea is another project to keep track of for self-hosted solutions -> https://github.com/go-gitea/gitea
@cnxsoft: “Github” => “GitHub”, “Gitlab” => “GitLab”
GitLab is hosted by Microsoft (Azure). Yes!
It used to be true, but they moved to another large US company cloud service now: Google Cloud.
“GitLab Ultimate and GitLab Gold are now free for open source projects”
“It should not have paid support or paid contributors.”
That pretty much rules out all *useful* open source software! (linux, etc.)
So, where are my open source projects I hosted on Gitorious before?
I have discovered notabug.org, their interface looks slick!
For gitlab, i am testing their kubernetes intégration to an orangepi board at home that runs kubernetes in order to access a serial port in à pod.