github / github/copilot-cli

/undo undid too much in a file

オープン
#2,757 コメント 0 件 リアクション 2 件 担当者 0 名 GitHub で見る
area:sessions area:tools
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
6

説明

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

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
shell
領域
cli
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
静か
明瞭さ
説明が足りない
初心者へのやさしさ
38/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。