$ git clone -n https://gitee.com/renping000/python-netifaces.git /var/lib/mock/dist-an8.6-build-202396-60841/root/chroot_tmpdir/scmroot/python-netifaces Cloning into '/var/lib/mock/dist-an8.6-build-202396-60841/root/chroot_tmpdir/scmroot/python-netifaces'... $ git reset --hard cef4c7f631747e239170d583532d28cc680e541b HEAD is now at cef4c7f import python-netifaces-0.10.4-3.el7.src.rpm