$ git clone -n https://gitee.com/xzyang-anolis/qt.git /var/lib/mock/dist-an23-dde-build-347620-70382/root/chroot_tmpdir/scmroot/qt Cloning into '/var/lib/mock/dist-an23-dde-build-347620-70382/root/chroot_tmpdir/scmroot/qt'... $ git fetch origin b0b62110d4e362ac4ebacd9f181f9aed0cc8fb89:KOJI_FETCH_HEAD From https://gitee.com/xzyang-anolis/qt * [new ref] b0b62110d4e362ac4ebacd9f181f9aed0cc8fb89 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b0b6211 fix build error