To migrate your repository run the following commands in your local repository (
We used Git LFS to store large files but switched back to plain git.
If you have branches from pre-GitLab times with e.g. newly created LFS files (benchmark files, images, …) you have to convert them back to plain git:
Now you have to squash this conversion commit into your original commit which added the files as Git LFS files. In result your branch history should and must not have any Git LFS files! Otherwise GitLab will reject the push!
When you are done migrating your branches you need to disable Git LFS in your local repo:
This creates a new fork under your account with the URL
You have to modify your git remotes to point to the new GitLab repos. Assuming the former official git repo remote is called
Assuming your personal forks remote is called
git remote set-url origin email@example.com:YOUR-USERNAME/ogs.git
Or you can clone a fresh repo by following the steps in Get the source code.