Related Tags:
Git Git is a distributed version-control system for tracking changes in source code during software development. It is designed for coordinating work among programmers, but it can be used to track changes in any set of files. Its goals include speed, data integrity, and support for distributed, non-linear workflows. Learn More, Version Control Version control is a system that records changes to a file or set of files over time so that you can recall specific versions later. Through version control you can keep track of nearly any type of file on a computer. Learn More, GitLab GitLab is a web-based DevOps lifecycle tool that provides a Git-repository manager providing wiki, issue-tracking and CI/CD pipeline features, using an open-source license, developed by GitLab Inc. Learn More, GitHub GitHub is a global company that provides hosting for software development version control using Git. It is a subsidiary of Microsoft, which acquired the company in 2018 for $7.5 billion. It offers all of the distributed version control and source code management functionality of Git as well as adding its own features. Learn More,

How to migrate or make fresh copy of a repository from GitLab to GitHub?

Description:I have repository currently available on GitLab and I eventually want to migrate it to GitHub but for the backup purpose I want to keep it on GitLab as we are working on it, meanwhile we can create a fresh copy of it to GitHub once we verified it is working fine then we can move to that one, is it directly possible? And if yes then what is the way to do it?

Posted by: | Posted on: Dec 31, 2019

1 answers

Replies

3

The easiest way I found for the purpose is by import repository feature. You need to perform following steps to import your GitLab repository to GitHub.

1) Just create a fresh repository on your GitHub.
2)Go to that repository page on GitHub and find the import code option which is at the bottom of your empty repository.
3)By click on the import code option you will be asked for Your old repository’s clone URL (The repository you have on GitLab)
4)Once you import you will be asked for your GitLab credentials as well.

Now it will inform you by email once the import is finished.
Note: Make sure your both accounts on GitHub and GitLab should have proper access rights required for the purpose.

Replied by: | Replied on: Jan 01, 2020



Reply
×

Code block Hyperlink bold Quotes block Upload Images

Preview