$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/tpm2-abrmd-selinux.git /var/lib/mock/dist-an8.4-build-19748-8533/root/chroot_tmpdir/scmroot/tpm2-abrmd-selinux Cloning into '/var/lib/mock/dist-an8.4-build-19748-8533/root/chroot_tmpdir/scmroot/tpm2-abrmd-selinux'... $ git reset --hard origin/a8 HEAD is now at 2bb6944 update to tpm2-abrmd-selinux-2.3.1-1.el8.src.rpm