What happens
Dartmouth will retire its GitLab instance in favor of a cloud-hosted GitHub implementation during Fiscal Year 2024. The organization of repositories and the process for granting access will undergo changes during this migration. After you leave Dartmouth, your GitLab access will be removed. If you do nothing, you will no longer be able to clone your repositories through your Dartmouth account after graduation.
Deadline
- Approximately 60 days after graduating, your GitLab access will be removed.
What you need to do
- To begin with, You'll need to choose & register with an alternative Git service (like GitHub, GitLab, etc.) in case you'd like to push a copy of code to another remote.
- If you only want to clone the repositories locally on your machine, you can simply do so and ignore the other steps in this guide.
- This process would involve the following steps-
- Clone the Repository Locally
- Create a New Repository on the Destination Platform
- Update Repository Configuration
- Push to the New Repository
- Verify Migration and update places where You've been using this repository
- Here are the example commands you can follow to accomplish the aforementioned steps.
git clone <your-git-repo-uri>
cd your-repo
# Create the repository in the new location using the Service Website
git remote rename origin old-origin
git remote add origin <your-new-git-remote-repo-uri>
git push
--set-upstream origin --all
git push
--set-upstream origin --tags