junegunn / junegunn/vim-plug

Untracked files in repos break plugin updates

Open
#1,318 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vim Script
Stars
35.8k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.