author avatar

soniya.rayabagi

Thu Feb 29 2024

Migration of a Repository from GitLab to GitHub:

  1. Clone the GitLab Repository Locally
git clone <GitLab-repository-URL>
cd <repository-name>
  1. Add the GitHub Repository as a Remote
git remote add github <GitHub-repository-URL>
  1. Resolve any merge conflicts that may arise using rebase after pull
git pull github main
  1. Push from your local repository to the GitHub repository
git push github main