aider
aider copied to clipboard
Fix the problem of undoing the error of adding new files
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'