github / github/copilot-cli

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

Open
#2,922 1 comment 10 reactions 0 assignees View on GitHub
area:sessions
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

## 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.

Contributor guide

Open the contributing guide

Research direction

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.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, github, shell
Domain
authentication, cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.