-
Notifications
You must be signed in to change notification settings - Fork 530
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
"Use a Git executable" ignore ssh-agent #5515
Comments
Thanks for reporting! Can you try to launch GitButler from the terminal directly? This would be the typical path on MacOS:
If this works, that would mean that your setup works due to environment variables which are only available in login shells, and which won't be inherited by GUI applications by default. |
when launched from the console, everything works. I believe that we need either to be able to set SSH_AUTH_SOCK in the application (in this case, the string specified in SSH_AUTH_SOCK should be interpreted) |
Thanks for sharing! It's particularly interesting that VSCode can do it and I wonder how they do it. Probably GitButler could do something very similar, or even the same. |
Thanks so much for sharing! From what I see there, VSCode spawns Git as direct child, there is no login shell involved. If that works, this would mean it has picked up the respective login-shell variables somewhere else. |
Taking a quick look at their repo, it looks like they used to fallback to spawning However, I can't find that code in |
Version
0.13.13
Operating System
macOS
Distribution Method
dmg (Apple Silicon)
Describe the issue
I use ssh-agent to access git
(the key is not in the file - so I can't select "Use an existing SSH key")
git exist on PATH - and all work from CLI
How to reproduce
select Use a Git executable (default)
press "test credentials"
Expected behavior
all work
Relevant log output
The text was updated successfully, but these errors were encountered: