gpt4 book ai didi

git - 我可以在创建 git 标签后对其进行签名吗?

转载 作者:IT王子 更新时间:2023-10-29 00:55:00 26 4
gpt4 key购买 nike

我创建了一个标签但忘了签名,然后将标签推送到 GitHub。是否可以追溯地对该标签进行签名,还是我必须创建一个新标签?

我已经阅读了 git tag 的手册页并进行了一些谷歌搜索,但没有找到可以向现有标签添加签名的线索。

最佳答案

不,你需要::

作为mrts添加 the comments ,因为标签已经被推送:

You also need to force push the updated tag with git push origin <tag_name> -f

关于git - 我可以在创建 git 标签后对其进行签名吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25347534/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com