By Glitch Team

June 8, 2018

Import Any of Your Code to Glitch!

Image

It’s now easier than ever to get your existing code on to Glitch. From today, you can import code from GitHub, GitLab, Bitbucket and any other Git repo hosting service.

To do so, select the ‘clone-from-repo’ option from the ‘New Project’ drop-down menu under the ‘Project Info’ menu at the top-left of the editor. Then enter the full HTTPS git web URL and the repo will be cloned. This clone includes all files and the full commit history.

We’ve wanted to provide more git import options for a while, but with recent news we know this has become more important to many of you and we wanted to be responsive to that!

Beyond making it easier to get your code on to Glitch, what’s cool is that the full commit history is then viewable in Glitch Rewind. This means you can visually see how a project has evolved over time. We think this is important — by seeing the development of a project laid out in front of you, knowing what was changed and why you get a better understanding of how an app was created.

You can also invite other users to your project who can explore the project history too, even if they’re not familiar with Git.

Folks are already thinking up creative ways to use this new capability:

We’re excited to see how else this gets used, as well as the amazing projects you import and work on.

For more specifics on how to import a git repo into Glitch, check out our help docs! 📚