$ git clone -n https://gitee.com/src-anolis-nde/nde-image.git /var/lib/mock/dist-an8.9-nde-build-427329-73014/root/chroot_tmpdir/scmroot/nde-image Cloning into '/var/lib/mock/dist-an8.9-nde-build-427329-73014/root/chroot_tmpdir/scmroot/nde-image'... $ git fetch origin a8:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-nde/nde-image * [new branch] a8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b046514 rebuild