GitHub Desktop unable to fetch ("url has no scheme")
See original GitHub issueUpdate: This has been fixed for Windows in the latest release of Desktop (production v2.4.3
and beta v2.4.4-beta0
). We are still investigating a fix for macOS.
Describe the bug
I cannot seem to fetch origin ever since the update to Github Desktop recently, every time I attempt to do this, I get the following error message: warning: url has no scheme: helperselector fatal: credential url cannot be parsed: helperselector
Version & OS
Github Desktop Version 2.4.2 Windows 10 Home - Build 18363.889
Steps to reproduce the behavior
- Go to the main screen.
- Click on Fetch Origin
- See error
Expected behavior
I expected to fetch origin.
Actual behavior
Github spits out an error message. I’m very unsure on what the next steps to do since using other git UI applications seem to work properly, and previous versions of github desktop on a different computer works properly, so something must have changed in this version that causes it to suddenly stop working. I’ve already logged in and out of Github several times, reinstalled Github Desktop a few other times, but I still run into this issue.
Screenshot of Error Message
Issue Analytics
- State:
- Created 3 years ago
- Reactions:29
- Comments:57 (18 by maintainers)
Top GitHub Comments
Found a solution that worked for me.
Open your .gitconfig (Under
C:\Users\<username>
) and if you have an entry[credential "url_without_scheme"]
change it for
[credential "https://url_without_scheme"]
That fixed it for me. It can help the investigation and might fix it for you!
@Aravind-Belagaje thank you for posting this! Now it all makes sense.
To fix this in your setup, simply run:
on the command-line, or remove the lines