$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/python-cryptography.git /var/lib/mock/dist-an7-build-35151-16525/root/chroot_tmpdir/scmroot/python-cryptography Cloning into '/var/lib/mock/dist-an7-build-35151-16525/root/chroot_tmpdir/scmroot/python-cryptography'... $ git reset --hard origin/a7 HEAD is now at 374722c import python-cryptography-1.7.2-2.el7.src.rpm