$ git clone -n https://gitee.com/src-anolis-os/python.git /var/lib/mock/dist-an7_9-updates-build-388671-72012/root/chroot_tmpdir/scmroot/python Cloning into '/var/lib/mock/dist-an7_9-updates-build-388671-72012/root/chroot_tmpdir/scmroot/python'... $ git fetch origin a7:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/python * [new branch] a7 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 29ee6e2 build: fix build error