$ git clone -n https://gitee.com/src-anolis-os/enchant.git /var/lib/mock/dist-an23.1-devel-build-367107-71311/root/chroot_tmpdir/scmroot/enchant Cloning into '/var/lib/mock/dist-an23.1-devel-build-367107-71311/root/chroot_tmpdir/scmroot/enchant'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/enchant * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1ebc13e Init upstream from version 1.6.1