-
Notifications
You must be signed in to change notification settings - Fork 144
Description
Bug Description
here is the issue, i can't add local project:
CleanShot.2026-02-20.at.13.56.18.mp4
when I'm trying to add a local project, it fails to connect github:
i've upgraded my gh by brew to most recent version: v2.87.0 already.
then i logged out all (my gh was auth by SSH key, probably it was root cause?) gh profiles and re-login by HTTPS, restarted emdash and problem fixes.
Steps to Reproduce
Steps to Reproduce
- Authenticate
ghCLI via SSH key (not HTTPS)gh auth login # choose SSH when prompted - Open Emdash
- Attempt to add a local project
- Observe the connection failure — Emdash fails to connect to GitHub and the local project cannot be added
Environment:
ghversion:v2.87.0(installed via Homebrew)ghauth method: SSH key
Workaround / Fix:
Log out all gh profiles and re-authenticate using HTTPS, then restart Emdash:
gh auth logout
gh auth login
# choose HTTPS when promptedAfter restarting Emdash, adding a local project works as expected.
Root Cause (suspected):
Emdash appears to not support gh CLI sessions authenticated via SSH key — only HTTPS-based authentication works correctly.
Actual vs Expected Behavior
Actual Behavior
When gh CLI is authenticated via SSH key, attempting to add a local project in Emdash fails silently — the app is unable to connect to GitHub and the project is never added.
Expected Behavior
Emdash should successfully connect to GitHub and add the local project regardless of the gh CLI authentication method (both SSH key and HTTPS should work).
emdash Version
latest emdash
Operating System
latest macos
Additional Context
No response