Issue Importing from Github
Jackleonard1 (1)

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
You are viewing a single comment. View All
Vandesm14 (754)

@Jackleonard1 Its sad.
Here's the command I was talking about:

git init && git remote add origin link-to-your-repo && git fetch --all && git reset --hard origin/master

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!

Please mark this as answered if I helped your problem 👍