This is a smart way to keep your storage lean. By using a depth of 1, you only push the "current snapshot" of OpenEMR to your GitLab, avoiding the gigabytes of historical data and thousands of older commits. Here is the step-by-step workflow:
- Log in to labs.gauntletai.com.
- Click New Project > Create blank project.
- Name it openemr (or your preferred name).
- Important: Uncheck "Initialize repository with a README" so the repo starts completely empty.
- Copy the Clone URL (SSH or HTTPS).
On your local machine (or the server where you are working), run:
git clone --depth 1 https://github.com
cd openemr
Now, you need to point the local folder away from GitHub and toward your GauntletAI instance:
git remote remove origin
git remote add origin https://gauntletai.com
Since you have no history, this push will be very fast and will only occupy a fraction of the space on your GitLab server:
git push -u origin master
- GitHub Full Clone: ~1.5GB+ (includes every version of OpenEMR since the project started years ago).
- Depth 1 Push: ~200MB - 300MB (only the files needed to run the current version).