Skip to content

/diff allows you to choose base branch for branch diff view #4635

Description

@jrapal-AIDE

Describe the feature or problem you'd like to solve

In Copilot CLI, the /diff command should allow you to be able to set the base branch when viewing in branch diff mode vs local edits.

Proposed solution

If I'm working on branch b with the following format:
develop -> branch a (feature) -> branch b (jira task)
I want the branch change mode for /diff on branch b to reflect the branch diff vs branch a, not automatically determined develop.

Example prompts or workflows

/diff set-base <branch>

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions