$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/tpm-tools.git /var/lib/mock/dist-an7-build-30523-15516/root/chroot_tmpdir/scmroot/tpm-tools Cloning into '/var/lib/mock/dist-an7-build-30523-15516/root/chroot_tmpdir/scmroot/tpm-tools'... $ git reset --hard origin/a7 HEAD is now at 1c06204 import tpm-tools-1.3.9-5.el7.src.rpm