-
Notifications
You must be signed in to change notification settings - Fork 264
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clone URL in browser? #133
Comments
I got the same issue. |
So you just want real only of public repos that allow cloning over the smart http protocol? What about the plain TCP git:// protocol? |
In my case just http protocol. |
Back when I was working on this, I had written this extension that added CORS to github response headers . https://github.com/creationix/corson Now to see if I can find the repo that powered the test site. |
Found it. See if this helps. https://github.com/creationix/clone-test |
Thanks, i'll give it a try. |
Is this issue up to date? I need to do a smart HTTPS clone, and am wondering how. |
As far as I know nothing has changed and github still doesn't send the headers required for your browser to talk to it. |
I'm not actually cloning from github, and I am planning on running this on a runtime where CORS is not an issue. |
this is super old lol, but if you got a server you can proxy the request between github and the browser, so you manage the headers. |
Sorry if there's something I'm missing here...
I'd like to clone git repos in the browser by URL. I understand there are CORS issues, but I can set up a proxy.
I've got GitHub working fine (using js-github) but can't figure out how to work with non-GitHub URLs. I found git-web-platform, but it doesn't seem to be published.
Any pointers?
Thanks!
-Bobby
The text was updated successfully, but these errors were encountered: