$ git clone -n https://gitee.com/xzyang-anolis/python.git /var/lib/mock/dist-an7_9-updates-build-332008-69500/root/chroot_tmpdir/scmroot/python Cloning into '/var/lib/mock/dist-an7_9-updates-build-332008-69500/root/chroot_tmpdir/scmroot/python'... $ git reset --hard d0927a04f1df6c62754e6ad96dd85bf437a29127 HEAD is now at d0927a0 fix build error