You are using an unsupported browser. Please update your browser to the latest version on or before July 31, 2020.
close
Home > Importing & Exporting > How do I sync a Glitch project with a git repo on GitLab?
How do I sync a Glitch project with a git repo on GitLab?
print icon

GitLab's support for repo mirroring means you can make a public project on Glitch automatically sync to a git repo on GitLab.

 

 

 

 

To set this up:
1. Create a new project on GitLab. Choose Import project > Repo by URL and enter:

  • Git User Name and repository URL available from Tools > Git, Import and Export > Write: https://your-glitch-git-user-name@api.glitch.com/git/your-glitch-project-name.
  • ✅ Mirror repository.
  • Set the project path and project name (you can use the Glitch project name if you like).
    • Optionally, add a project description.
  • Set the visibility level that you’re happy with.

 

2. Once that’s done, click Create project. The repo will now automatically pull in changes every hour or so.

 

Note: These setup instructions work with Glitch projects that are set to public.  To sync a private project, a paid GitLab account (Bronze plan or higher) is required.

Got more questions? Check out our Community Forum!
Open 24/7, the forum is where Glitch makers help each other and show off all the rad apps that they have created. It's the friendliest community of coders on the Web!
Feedback
4 out of 4 found this helpful

scroll to top icon