$ git clone -n https://gitee.com/src-anolis-os/os-prober.git /var/lib/mock/dist-an23-build-334426-69659/root/chroot_tmpdir/scmroot/os-prober Cloning into '/var/lib/mock/dist-an23-build-334426-69659/root/chroot_tmpdir/scmroot/os-prober'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/os-prober * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 7941c87 fix build error for os-prober