$ git clone -n https://gitee.com/src-anolis-os/enchant2.git /var/lib/mock/dist-an23-build-300428-65946/root/chroot_tmpdir/scmroot/enchant2 Cloning into '/var/lib/mock/dist-an23-build-300428-65946/root/chroot_tmpdir/scmroot/enchant2'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/enchant2 * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4c22a88 2.5.0