$ git clone -n https://gitee.com/sys0613/PyYAML.git /var/lib/mock/dist-an8.6-build-218401-61928/root/chroot_tmpdir/scmroot/PyYAML Cloning into '/var/lib/mock/dist-an8.6-build-218401-61928/root/chroot_tmpdir/scmroot/PyYAML'... $ git reset --hard d2d7682f3b832689e92577df8cea1b898c2a51aa HEAD is now at d2d7682 import PyYAML-3.12-12.el8.src.rpm