【git】would clobber existing tag 报错解决

问题

在用vscode的Git去pull代码的时候git弹窗报错,查看报错日志发现以下内容:

bash 复制代码
> git pull --tags origin feature/xxx-2.0.0
From 173.110.11.22:VV-WORK-FE/vv-desktop
 * branch                feature/xxx-2.0.0 -> FETCH_HEAD
 ! [rejected]            v1.7.7     -> v1.7.7  (would clobber existing tag)

原因

原因可能是删了原有的一个git tag,然后重新创建了一个相同名字的。

解决

强制刷新一下本地的tags

bash 复制代码
git fetch --tags -f
相关推荐
xlq223221 天前
2.git
git
OYangxf1 天前
Git Ignore
大数据·git·elasticsearch
哆哆啦001 天前
obsidian远程同步方案:infiniCloud+remotely save方案
笔记·git·obsidian
西柚小萌新1 天前
【计算机常识】--使用 Gitea 在本地/内网搭建 Git 私有服务器
服务器·git·gitea
zhangfeng11331 天前
scp 命令的使用方法 什么软件支持 .git bash xshell .openssh
开发语言·git·bash
_君莫笑2 天前
大厂Git使用规范
git
无心水2 天前
【Hermes:安全、权限与生产环境】39、智能体也会犯错?Hermes 纠错、回滚与遗忘机制全指南 —— 让 AI 的错误像 Git 一样可逆可控
人工智能·git·安全·mcp协议·openclaw·hermes·honcho
南境十里·墨染春水2 天前
linux学习进展 git详解
linux·git·学习
zhangfeng11332 天前
CodeBuddy ai对话框上面的git docs terminal Rulds 干嘛用的,以thinkphp fastadmin 为例,插件市场
人工智能·git·编程
OYangxf2 天前
Git Conflict Resolution
大数据·git·elasticsearch