$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/python-pyasn1.git /var/lib/mock/dist-an7-build-30006-15452/root/chroot_tmpdir/scmroot/python-pyasn1 Cloning into '/var/lib/mock/dist-an7-build-30006-15452/root/chroot_tmpdir/scmroot/python-pyasn1'... $ git reset --hard origin/a7 HEAD is now at ecc93d4 import python-pyasn1-0.1.9-7.el7.src.rpm