Skip to content

Untracked files in repos break plugin updates #1318

@EdgeJ

Description

@EdgeJ

Problem

If a plugin has untracked or otherwise changed files in the local repository, it cannot be updated.

For example:

- Finishing ... Done!
x lsp_signature.nvim:
    error: The following untracked working tree files would be overwritten by merge:
    	doc/tags
    Please move or remove them before you merge.
    Aborting
    Updating a793d02..62cadce

Proposal

Run git clean and git reset --hard commands under the hood to remove any unexpected local changes when performing updates.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions