Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the problem of undoing the error of adding new files #587

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

a1ooha
Copy link
Contributor

@a1ooha a1ooha commented May 3, 2024

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant