$ git clone -n https://gitee.com/ut-layne-yang/python.git /var/lib/mock/dist-an7_9-updates-build-388469-71962/root/chroot_tmpdir/scmroot/python Cloning into '/var/lib/mock/dist-an7_9-updates-build-388469-71962/root/chroot_tmpdir/scmroot/python'... $ git fetch origin 29ee6e245813f3d11a23070de9c9c4dc4942e565:KOJI_FETCH_HEAD From https://gitee.com/ut-layne-yang/python * [new ref] 29ee6e245813f3d11a23070de9c9c4dc4942e565 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 29ee6e2 build: fix build error