-
Notifications
You must be signed in to change notification settings - Fork 2
Moving From Gitlab to Github Steps
sudobangbang edited this page May 2, 2024
·
12 revisions
-
Admin: check that the latest commit on Gitlab is on Github ✅
-
Admin: make sure Gitlab branches
conus-dps
andprimarykeyv2
are protected so no one can push to them ✅ -
Admin: turn off mirroring push in Gitlab repository ✅
-
Everyone: run these steps in the places where you've checked out your code:
Make sure your local is up to date:
cd <to-your-checked-out-fireatlas_nrt-repo> git fetch git fetch --tags
List out the remote repository aliases (you probably only have ones called "origin"):
$ git remote -v origin https://repo.maap-project.org/gcorradini/fireatlas_nrt.git (fetch) origin https://repo.maap-project.org/gcorradini/fireatlas_nrt.git (push)
Now swap out that "origin" remote URL:
git remote set-url origin git@github.com:Earth-Information-System/fireatlas.git
Double check your work to make sure remote origin is updated:
$ git remote -v origin https://github.com/Earth-Information-System/fireatlas.git (fetch) origin https://github.com/Earth-Information-System/fireatlas.git (push)
-
Admin: after everyone has moved over then archive the repo
-
Admin: then start async migrating 1) boards, 2) issues and 2) the single PR from Gitlab to Github