$ git clone -n https://gitee.com/src-anolis-os/python-cryptography.git /var/lib/mock/dist-an8.7-build-158791-58484/root/chroot_tmpdir/scmroot/python-cryptography Cloning into '/var/lib/mock/dist-an8.7-build-158791-58484/root/chroot_tmpdir/scmroot/python-cryptography'... $ git reset --hard origin/a8 HEAD is now at 0062498 import python-cryptography-3.2.1-5.el8.src.rpm