aider icon indicating copy to clipboard operation
aider copied to clipboard

Fix the problem of undoing the error of adding new files

Open a1ooha opened this issue 3 months ago • 0 comments

The undo command reports an error when withdrawing the addition of a new file.

GitCommandError: Cmd('git') failed due to: exit code(1) cmdline: git checkout HEAD~1 path/to/file stderr: 'error: pathspec 'path/to/file' did not match any file(s) known to git'

a1ooha avatar May 03 '24 11:05 a1ooha