question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support specify the proxy for GitHub Desktop (not for Git)

See original GitHub issue

Describe the feature or problem you’d like to solve

China blocks github.com. The proxy for performing git operations can be specify at .gitconfig file BUT there is no way to set the proxy for GitHub Desktop GUI itself.

Then when a user wants to log in to GitHub, GitHub Desktop will require the user open a link in the browser, and let the browser make a callback to GitHub Desktop, then GitHub Desktop will connect to github.com directly without a proxy, and will not successfully finish the login.

Proposed solution

Let GitHub Desktop support the proxy for itself (not for Git) through at least one of environment variables, command arguments, and GUI settings.

Additional context

Note: it is different from setting git config --global http.proxy http://proxy.server.com:8080.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
stevewardcommented, Mar 8, 2022

@SadPencil I’m glad to hear you were able to get the system proxy working, and apologies for my misunderstanding of your request.

0reactions
sfc9982commented, Oct 11, 2022

What’s your proxy software?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How Can I Configure GitHub Desktop ... - Stack Overflow
Set up/Sign in to your account in Github Desktop(This won't be a problem, proxy only doesn't allow you to Add, create or clone...
Read more >
GitHub Desktop 2.4 introduces proxy support and issue creation
GitHub Desktop 2.4 gets you set up to work behind a proxy without having to configure anything manually, allows you to easily create...
Read more >
Configure GitHub Desktop/Windows to Work with a Proxy?
Close Github Desktop for the time being(to set up proxy). Go to C:\Users@yourusername. There you will find a file named .gitconfig. Open it...
Read more >
Can't clone or pull due to a git outbound proxy
When using Git via command line to push or pull, the following strange output is shown (note that the host.company.com will not match...
Read more >
Get started using Git on WSL - Windows - Microsoft Learn
This means things like proxy settings for GCM need to be set in Git for Windows as well as WSL Git as they...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found