Gitlab integrations

Glitch has github integration (export/import) but also add gitlab

2 Likes

Hi @ndr3w221 you can achieve the same results by cloning from a gitlab repo while creating a new project using the clone-from-repo menu selection; https://glitch.com/help/import-git/ provides a little more detail of how to accomplish this. If you have an existing project then you can either:

  1. create a new project using that method and copy your content over or
  2. if you’re comfortable using the console of your project you can add the git remote manually to get there

If you’re going to start with a new repo there’s one thing to keep in mind that’s not (yet) listed in that help doc: there must be at least one commit in the repo you’re cloning (this is the same for the GitHub integration).

If (2) is better for you you can open the Glitch console for your project and follow the directions from the Existing Folder section of the empty repository guidelines in GitLab, namely, from your /app folder:

git init
git remote add origin %%your-gitlab-clone-url-here%%
git add .
git commit -m "Initial commit"
git push -u origin master

Right now we don’t have any plans to change the git integration options, but if there’s anything else I can help you with please let me know.

1 Like

Hi @cori is there any way to export on gitlab? ( other than console ). It will be nice to have export option for gitlab as well.

@AkashKumar sorry, not at the moment, and we don’t have any explicit plans to add that feature. We’ll keep any eye out here and if it seems like something a lot of folks would use we might consider it sometime down the road.

Wondering if anything has changed in the meantime, and if it hasn’t, you have my vote for exporting to GitLab.com as well!

1 Like

Hey @arun we still don’t have any specific plans for additional support from the git-level options and the Clone From Repo option in the New Project menu. If that’s something that you feel strongly about I encourage you to open a feature request in https://support.glitch.com/c/feature-ideas (or upvote an existing one, like
How about other source control options like bitbucket?).

I also saw your post in Is there anyone created a project from Gitlab private repo? How? and will be taking a closer look at that later today.

1 Like