$ git clone -n https://gitee.com/src-anolis-os/numad.git /var/lib/mock/dist-an23.5-AImanager-build-528778-76907/root/chroot_tmpdir/scmroot/numad Cloning into '/var/lib/mock/dist-an23.5-AImanager-build-528778-76907/root/chroot_tmpdir/scmroot/numad'... $ git fetch origin 3594cf8a4a64f0778ee08e7a53b24fb68d6c294d:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/numad * [new ref] 3594cf8a4a64f0778ee08e7a53b24fb68d6c294d -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3594cf8 recognize the -m option