`/diff` allows you to choose base branch for `branch diff` view
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Shell
- Star
- 11.2k
- Fork
- 1.9k
- Merge trung bình
- 14 giờ 16 phút
- Pull request đã merge (30 ngày)
- 6
Mô tả
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
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Start at the Copilot CLI implementation of the /diff command and its branch diff mode. Trace how the base branch is currently determined, then assess the proposed /diff set-base <branch> workflow. Done means branch diff mode can use the explicitly selected base branch instead of the automatically determined branch, while local edits remain distinct.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- shell
- Lĩnh vực
- cli
- Loại issue
- Tính năng
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Sôi nổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 68/100