$ git clone -n https://gitee.com/dtcccccc/gcc-python-plugin-rpm.git /var/lib/mock/dist-an8.9-build-355416-71060/root/chroot_tmpdir/scmroot/gcc-python-plugin-rpm Cloning into '/var/lib/mock/dist-an8.9-build-355416-71060/root/chroot_tmpdir/scmroot/gcc-python-plugin-rpm'... $ git reset --hard fd3c0f8ca60478bfbb70cd3d21e355e3f23f7c81 HEAD is now at fd3c0f8 update to 0.17.1-2