$ git clone -n https://gitee.com/src-anolis-nde/menu-cache.git /var/lib/mock/dist-an23.4-nde-build-502640-74803/root/chroot_tmpdir/scmroot/menu-cache Cloning into '/var/lib/mock/dist-an23.4-nde-build-502640-74803/root/chroot_tmpdir/scmroot/menu-cache'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-nde/menu-cache * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 52dd6fb Fix build error