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

Reset File in Git Status Picker #3012

Open
kevintraver opened this issue Mar 24, 2024 · 1 comment
Open

Reset File in Git Status Picker #3012

kevintraver opened this issue Mar 24, 2024 · 1 comment
Labels
enhancement Enhancement to performance, inner workings or existent features

Comments

@kevintraver
Copy link
Contributor

Is there a way to reset the selected file while inside the git status picker?

I tried using this action:

map({ "i", "n" }, "r", actions.git_reset_hard)

But it returns the following error:

Git returned: 'fatal: Cannot do hard reset with paths.'
@kevintraver kevintraver added the enhancement Enhancement to performance, inner workings or existent features label Mar 24, 2024
@kevintraver
Copy link
Contributor Author

Looks like #1368 might be related.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement to performance, inner workings or existent features
Projects
None yet
Development

No branches or pull requests

1 participant