$ git clone -n https://gitee.com/cobratoxin/pytest.git /var/lib/mock/dist-an8.7-build-259465-63788/root/chroot_tmpdir/scmroot/pytest Cloning into '/var/lib/mock/dist-an8.7-build-259465-63788/root/chroot_tmpdir/scmroot/pytest'... $ git reset --hard a7d0d64f41b35e001beda80dade2962700036dd3 HEAD is now at a7d0d64 import pytest-3.4.2-11.el8.src.rpm