$ git clone -n https://gitee.com/happy_orange/python-platformdirs.git /var/lib/mock/dist-an23-build-235516-62764/root/chroot_tmpdir/scmroot/python-platformdirs Cloning into '/var/lib/mock/dist-an23-build-235516-62764/root/chroot_tmpdir/scmroot/python-platformdirs'... $ git reset --hard 6bed62bef8ac27279029e400fdb0fe67308933a8 HEAD is now at 6bed62b rebuild to fix the version error