Bug Description
The GitHub install command only looks at the "origin" remote to find the repository. This fails when using a different remote name (e.g., "upstream", "github", etc.).
Expected Behavior
The command should parse all remotes and find the first valid GitHub remote URL.
Steps to Reproduce
- Add a GitHub remote with a name other than "origin" (e.g.,
git remote add github https://github.com/user/repo.git)
- Run the GitHub install command
- It fails with "Could not find git repository"
Suggested Fix
Parse all remotes using git remote -v and find the first valid GitHub remote URL.
Labels: bug
Bug Description
The GitHub install command only looks at the "origin" remote to find the repository. This fails when using a different remote name (e.g., "upstream", "github", etc.).
Expected Behavior
The command should parse all remotes and find the first valid GitHub remote URL.
Steps to Reproduce
git remote add github https://github.com/user/repo.git)Suggested Fix
Parse all remotes using
git remote -vand find the first valid GitHub remote URL.Labels: bug