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:
git add --renormalize . git commit -m "Converted LFS files 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 repository:
git lfs uninstall --local
This creates a new fork under your account with the URL
You have to modify your git remotes to point to the new GitLab repositories. Assuming the former official git repository remote is called
git remote set-url upstream https://gitlab.opengeosys.org/ogs/ogs.git
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 repository by following the steps in Get the source code.