$ git clone -n https://gitee.com/happy_orange/tpm2-abrmd.git /var/lib/mock/dist-an23-build-246589-63175/root/chroot_tmpdir/scmroot/tpm2-abrmd Cloning into '/var/lib/mock/dist-an23-build-246589-63175/root/chroot_tmpdir/scmroot/tpm2-abrmd'... $ git reset --hard 1a526dd6bf945fe47baadc65dc996711b3c3f272 HEAD is now at 1a526dd init package