Short summary
We can't clone repos or create new worktrees
Affected version or release
v0.2.4
Installation context
macOS, GHE with data residency
What happened?
We enforce SSH Certificates in our GHE instance, and use core.sshCommand in ~/.gitconfig to use a custom binary which handles retrieving a valid certificate and using it for the authentication. This relies only on core.sshCommand being set, nothing else. I assume the app is somehow overriding this, even if the visible command line arguments don't indicate it?
Steps to reproduce
- Start a new session to work on an existing PR
- Be greeted with:
git ["-C", "/Users/<my-username>/<path>/<folder>", "-c", "credential.helper=", "-c", "http.extraHeader=Authorization: [REDACTED]", "fetch", "origin", "+refs/heads/main:refs/remotes/origin/main", "+refs/pull/3261/head:refs/remotes/origin/pr/3261"] failed: <certificate-user>@<org>.ghe.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
Note that this is an existing clone, and the same exact command ran in my terminal works. I already tried enabling "Inherit shell environment" but it doesn't make any difference. Cloning works in other apps that do not inherit the environment (e.g. Claude Desktop).
Expected behavior
The app is able to clone repos and create worktrees.
Additional context
No response
Short summary
We can't clone repos or create new worktrees
Affected version or release
v0.2.4
Installation context
macOS, GHE with data residency
What happened?
We enforce SSH Certificates in our GHE instance, and use core.sshCommand in ~/.gitconfig to use a custom binary which handles retrieving a valid certificate and using it for the authentication. This relies only on core.sshCommand being set, nothing else. I assume the app is somehow overriding this, even if the visible command line arguments don't indicate it?
Steps to reproduce
Note that this is an existing clone, and the same exact command ran in my terminal works. I already tried enabling "Inherit shell environment" but it doesn't make any difference. Cloning works in other apps that do not inherit the environment (e.g. Claude Desktop).
Expected behavior
The app is able to clone repos and create worktrees.
Additional context
No response