$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/tpm2-abrmd.git /var/lib/mock/dist-an7-build-33283-16169/root/chroot_tmpdir/scmroot/tpm2-abrmd Cloning into '/var/lib/mock/dist-an7-build-33283-16169/root/chroot_tmpdir/scmroot/tpm2-abrmd'... $ git reset --hard origin/a7 HEAD is now at 0c4e4d4 import tpm2-abrmd-1.1.0-11.el7.src.rpm