github / github/copilot-cli

/undo undid too much in a file

Đang mở
#2,757 0 bình luận 2 reaction 0 người được giao Xem trên GitHub
area:sessions area:tools
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 bug

I was in the process of working on something with copilot CLI, had some uncommitted changes and then asked for another change. That last change didn't actually make sense, so I used `/undo` while the change was still executing (I think it was compiling). The state of the conversation reverted correctly, but the state of the file didn't: it reverted to no uncommitted changes.

I was able to restore the changes by telling copilot about it.

### Affected version

1.0.27

### Steps to reproduce the behavior

_No response_

### Expected behavior

_No response_

### Additional context

_No response_

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Start by reproducing the issue with Copilot CLI 1.0.27: keep uncommitted changes, begin another change, and invoke `/undo` while it is compiling. Inspect the `/undo` flow and verify that completion preserves earlier uncommitted changes while reverting only the latest change.

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
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
38/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.