github / github/app

Session creation fails when git remote is not named "origin"

Open
#3,198 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
No language data
Stars
2.1k
Forks
153
PR merge metrics
No merged PRs in 30d

Description

Session creation fails when git remote is not named "origin"

When a project's git remote pointing to the correct GitHub repo is named something other than `origin` (e.g., `savvy-trader`), session creation fails with "has no origin remote." The app itself added the project using this remote, so it should use whichever remote matches the configured repo URL, not hardcode `origin`

---
| Field | Value |
| --- | --- |
| App version | 1.1.13 |
| OS | macOS 26.5.2 |
| Theme | GitHub |
| Path | /chat |
| Tenure | Day 1 |

Contributor guide

Open the contributing guide

Research direction

Start from session creation on the /chat path and trace how the configured repository URL is matched to a git remote. Verify the behavior with a project whose matching remote is not named origin; done means session creation succeeds using the remote that matches the configured GitHub repository URL.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, github
Domain
desktop, developer-experience
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.