2022-05-30 Git 解决 would clobber

2022-05-30  本文已影响0人  alanwhy

问题

> git pull --tags origin master
From https://github.com/MY/REPO
* branch            master     -> FETCH_HEAD
! [rejected]        latest     -> latest  (would clobber existing tag)
9428765..935da94  master     -> origin/master

原因

我删了原有的一个tag,然后重新创建了一个相同名字的。

解决方式

# 强制刷新一下本地的tags
$ git fetch --tags -f

原文: Git 解决 would clobber existing tag 问题

上一篇 下一篇

猜你喜欢

热点阅读