$ git clone -n https://gitee.com/src-anolis-os/mcelog.git /var/lib/mock/dist-an23.3-build-423256-72928/root/chroot_tmpdir/scmroot/mcelog Cloning into '/var/lib/mock/dist-an23.3-build-423256-72928/root/chroot_tmpdir/scmroot/mcelog'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/mcelog * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1c26c83 Update to 202 from 194