vscode-gitlens
vscode-gitlens copied to clipboard
Check git.replaceTagsWhenPull preference
Description
The git extension config can be set to enable "git.replaceTagsWhenPull" which overrides local tags when there's a conflict with remote. It'd be useful for gitlens to implement this functionality or check for the existing preference.
Would this fix the error I have from gitlens interface, when an existing tag has moved ?
When this happens that's what I see in vscode's gitlens output:
[2025-10-28 07:40:07.130] [GIT ] [...] git pull --tags • From https://github.com/... • ! [rejected] thetag -> thetag (would clobber existing tag) [1229ms] (slow)
[2025-10-28 07:40:07.131] Git.pull
Error: Unable to pull because a local tag would be overwritten.
```