$ git clone -n https://gitee.com/src-opencloudos-rpms/tpm2-abrmd /var/lib/mock/dist-oc8-build-32529-9797/root/chroot_tmpdir/scmroot/tpm2-abrmd Cloning into '/var/lib/mock/dist-oc8-build-32529-9797/root/chroot_tmpdir/scmroot/tpm2-abrmd'... $ git reset --hard origin/oc8 HEAD is now at 73f0beb import tpm2-abrmd-2.3.3-3.tl3