-
Notifications
You must be signed in to change notification settings - Fork 608
Opening a gist repository gives a fetch error #2324
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
Comments
issue is still there... any tricks around it? |
Came to report this issue - maybe we can add an ignore on repos that end in .wiki? |
This doesn't happen to me anymore on 0.26.0, can you check if upgrading works? |
Should be fixed for wiki, but I haven't made any changes for gists. |
Yeah that's true, I hadn't checked on gists. I'll update the title. |
OK! So this turned out to be harder than I thought. Gists can be cloned in two different ways so the remote might look different.
1 is easy enough to account for. 2 is a bit harder as I'm not sure if gist id's follow a certain pattern. |
In my example the SSH remote uses Meaning maybe the Also the example you posted does not contain a slash in the repository part of the remote URL, so maybe that can also be checked. |
Let's solve for the the simple case and take the incremental improvement. I agree that I don't see a clear solution for (2) above. |
Does a match for gist[.]github[.]com. If you clone from github.com, YMMV. |
What you're seeing is correct. We don't provide GitHub support when you open a wiki or gist, and I think most people don't expect there to be support for these. |
Issue Type: Bug
.wiki.git
to a main repository URL) or gist repositoryFetching pull requests for remote 'origin' failed, please check if the url <URL> is valid.
Wiki repository:

Gist repository:

Extension version: 0.22.0
VS Code version: Code - Insiders 1.52.0-insider (bc13785d3dd99b4b0e9da9aed17bb79809a50804, 2020-12-07T14:46:48.305Z)
OS version: Windows_NT x64 10.0.20262
Remote OS version: Linux x64 4.19.128-microsoft-standard
Remote OS version: Linux x64 4.19.128-microsoft-standard
Remote OS version: Linux x64 4.19.128-microsoft-standard
System Info
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: unavailable_off
opengl: enabled_on
protected_video_decode: enabled
rasterization: unavailable_off
skia_renderer: disabled_off_ok
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: unavailable_off
A/B Experiments
The text was updated successfully, but these errors were encountered: