-
Notifications
You must be signed in to change notification settings - Fork 791
Can't checkout a file #1176
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
Comments
BeChris
added a commit
to BeChris/go-git
that referenced
this issue
Jan 5, 2025
pjbgf
added a commit
that referenced
this issue
Jan 15, 2025
git: worktree, fix restoring dot slash files. Fixes #1176
pjbgf
added a commit
that referenced
this issue
Jan 15, 2025
git: worktree, fix restoring dot slash files (backported to v5). Fixes #1176
pjbgf
pushed a commit
to pjbgf/go-git
that referenced
this issue
Jan 28, 2025
pjbgf
pushed a commit
to pjbgf/go-git
that referenced
this issue
Mar 14, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
The title might be a misleading, but I can't seem to figure out how to do this
git checkout -- ./blah ./foo
with the exact behavior in git (i.e. discard unstaged files only). I'd expect it to look something like this:I can't find anything in the issues or the codebase that even remotely hints at being able to do this.
The text was updated successfully, but these errors were encountered: