$ git clone -n https://gitee.com/fundawang/tengine.git /var/lib/mock/dist-an23-build-296906-65802/root/chroot_tmpdir/scmroot/tengine Cloning into '/var/lib/mock/dist-an23-build-296906-65802/root/chroot_tmpdir/scmroot/tengine'... $ git fetch origin c24c7a1ab3e9ba8c5e4a6e686ae9e946462b1bc5:KOJI_FETCH_HEAD From https://gitee.com/fundawang/tengine * [new ref] c24c7a1ab3e9ba8c5e4a6e686ae9e946462b1bc5 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c24c7a1 finally fix