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