$ git clone -n https://gitee.com/happy_orange/python-platformdirs.git /var/lib/mock/dist-an23-build-135675-50033/root/chroot_tmpdir/scmroot/python-platformdirs Cloning into '/var/lib/mock/dist-an23-build-135675-50033/root/chroot_tmpdir/scmroot/python-platformdirs'... $ git reset --hard e2614e0525c841d98b4af9cbd98cacc809d26db8 HEAD is now at e2614e0 bugfix build error