telescope.nvim icon indicating copy to clipboard operation
telescope.nvim copied to clipboard

Reset File in Git Status Picker

Open kevintraver opened this issue 1 year ago • 1 comments

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 avatar Mar 24 '24 20:03 kevintraver

Looks like #1368 might be related.

kevintraver avatar Mar 24 '24 21:03 kevintraver