Skip to content

Reset File in Git Status Picker #3012

@kevintraver

Description

@kevintraver

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.'

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementEnhancement to performance, inner workings or existent features

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions