$ git clone -n https://gitee.com/src-anolis-os/anolis-setup.git /var/lib/mock/dist-an23-build-278227-64442/root/chroot_tmpdir/scmroot/anolis-setup Cloning into '/var/lib/mock/dist-an23-build-278227-64442/root/chroot_tmpdir/scmroot/anolis-setup'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/anolis-setup * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 9968bed add the condition for judging whether the crashkernel exists