我正在尝试使用该repo init
命令设置 AOSP 存储库,但是出现签名检查错误(我编辑了所有实际名称和对象 ID):
repo: error: "git" failed with exit status 1
cwd: /aoap/.repo/repo
cmd: ['git', 'tag', '-v', 'v1.12.16']
stdout:
>> object 0123456789abcdef0123456789abcdef01234567
>> type commit
>> tag v1.12.16
>> tagger Foo Bar <foobar@android.com> 0123456789 -0700
>>
>> repo 1.12.16
stderr:
>> gpg: Signature made gio 31 feb 2022, 12:34:56 CEST
>> gpg: using RSA key 0123456789ABCDEF
>> gpg: Can't check signature: No public key
fatal: cloning the git-repo repository failed, will remove '.repo/repo'
有没有办法跳过或禁用 GPG 签名检查(为此repo init
,甚至全局git
)?