Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

trying to push git files but get this error "fatal: Invalid proxy URL 'https:/github.com': only SOCKS proxies support paths"

I tried this command:

git push -u origin main

but i get this error:

fatal: Invalid proxy URL 'https:/github.com': only SOCKS proxies support paths
fatal: remote helper 'https' aborted session

how can i fix this

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

Looks like it might have been a typo when you set up your origin remote — your URL only has one / after https:.

Run git remote show origin. If the Fetch URL and/or Pull URL there also only has one slash, edit .git/config to add the missing /, and see if that fixes it.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading