github / github/copilot-cli

Feature Request: /remote should support non-GitHub git repositories (e.g. GitLab, Bitbucket)

未关闭
#2,922 1 条评论 10 个 reaction 已指派 0 人 在 GitHub 查看
area:sessions
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
6

描述

## Problem
`/remote` fails with `Remote session disabled: not in a GitHub repository` when used in a GitLab (or other) repository.

## Proposed Solution
The remote session feature should work independently of the git host — session control via GitHub account, regardless of where the code is hosted.

## Use Case
Teams using GitLab want to use /remote to control their Copilot CLI session from GitHub web/mobile, but are blocked by the repository host check.

## Additional Context
The CLI is already authenticated via GitHub, so the restriction to GitHub-hosted repos feels unnecessary for the remote control functionality itself.

贡献指南

打开贡献指南

调研方向

Search the CLI for the exact error message and the /remote command, then trace the repository-host check and its tests. Confirm how GitHub authentication controls remote sessions, and define done as allowing GitLab or other Git repositories without breaking the existing GitHub-hosted flow.

由索引模型根据 Issue 内容生成。

评估

技术栈
git, github, shell
领域
authentication, cli
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。