$ git clone -n https://gitee.com/src-opencloudos-rpms/p11-kit.git /var/lib/mock/dist-oc8-build-74964-51834/root/chroot_tmpdir/scmroot/p11-kit Cloning into '/var/lib/mock/dist-oc8-build-74964-51834/root/chroot_tmpdir/scmroot/p11-kit'... $ git fetch origin dfa6b2bf240856dc52f1d6a1e1a07ad052cfa2c7:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/p11-kit * [new ref] dfa6b2bf240856dc52f1d6a1e1a07ad052cfa2c7 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at dfa6b2b import p11-kit-0.23.22-2.tl3