$ git clone -n https://gitee.com/newstart-gdlc/nde-image.git /var/lib/mock/dist-an8.9-nde-build-409477-72671/root/chroot_tmpdir/scmroot/nde-image Cloning into '/var/lib/mock/dist-an8.9-nde-build-409477-72671/root/chroot_tmpdir/scmroot/nde-image'... $ git fetch origin cfd9b786dfe8ff43db43cf69a033721e1e680261:KOJI_FETCH_HEAD From https://gitee.com/newstart-gdlc/nde-image * [new ref] cfd9b786dfe8ff43db43cf69a033721e1e680261 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at cfd9b78 fix build error