$ git clone -n https://gitee.com/src-anolis-os/mm-common.git /var/lib/mock/dist-an23.3-build-416653-72865/root/chroot_tmpdir/scmroot/mm-common Cloning into '/var/lib/mock/dist-an23.3-build-416653-72865/root/chroot_tmpdir/scmroot/mm-common'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/mm-common * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 0dde193 update to 1.0.6