Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个问题,我在没有 GPG 签名的情况下之前提交了一些内容,而对于其余的提交,我安装了 gpg 并对其进行了签名。我想 gpg 签署这个特定的提交。是否有一种合适的方法可以使用提交哈希对特定提交进行 gpg 签名?
提交是在创建提交时签署的——签名是提交的一部分。
根据您的情况,您有以下三种选择:
--allow-empty