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