$ git clone -n https://gitee.com/sys0613/python-cryptography.git /var/lib/mock/dist-an23-build-168186-58833/root/chroot_tmpdir/scmroot/python-cryptography Cloning into '/var/lib/mock/dist-an23-build-168186-58833/root/chroot_tmpdir/scmroot/python-cryptography'... $ git reset --hard 0062498d2a88956345fc358ed35b7c1b4616d016 HEAD is now at 0062498 import python-cryptography-3.2.1-5.el8.src.rpm