Issue Importing from Github
I receive a "the String did not match the expected pattern" when trying to import from Github, however I'm following the exact pattern specified by repl.it
Here's a few things to help troubleshoot:
- my repo is set to public
- my repo URL works perfectly fine anywhere else
- I haven't had this issue before
- I've tried, to no success:
https://github.com/user/repo http://github.com/user/repo https://www.github.com/user/repo github.com/user/repo
MMarkosPro21
Try this: Go to REPL's home and scroll down until you see "Link GitHub". Just link it, and you're fine!
Add the https:// then add the link :)
@MMarkosPro21

Same Issue
@Jackleonard1 Oh! Its a STRING!
I don’t get it ? @MMarkosPro21
@Jackleonard1 Nope. Is your repo private? If so make it public then try. If it still doesn't work, dm me on Discord and I can set up your repl manually (Vandesm14#3364)
@Vandesm14 Hi, No it is set to public. I don't use Discord I'm afraid.
@Jackleonard1 I guess the only thing that's left to do is for you to report this to https://repl.it/bugs
@Vandesm14
Thanks for the tip ! I've just sent through a bug report. This is a pretty bad bug to have in production, disappointed in the repl.it team. Could have been easily mitigated with some basic qa.
@Jackleonard1 Its sad.
Here's the command I was talking about:
Create a repl. Then, hit
F1
, type in "shell", hit enter, copy+paste the command, and hit enter. Your repo should now be imported into the repl!@Vandesm14 This is awesome! Going to try out now. Thanks so much !
@Vandesm14
Should this happen? - Unsure how to hit F1 using Mac OS X, so just popped it in the console

@Jackleonard1 Try this one:
git init && git clone link-to-your-repo && git fetch --all && git reset --hard origin/master
If that doesn't work try this:
git init && git clone link-to-your-repo
@Jackleonard1 you are not in shell
You have to press F1 and then in the drop-down that shows up type shell. Make sure you are in the middle window when you press f1. Sometimes it takes a few tries