$ git clone -n https://gitee.com/src-anolis-os/gettext.git /var/lib/mock/dist-an23-build-189088-60731/root/chroot_tmpdir/scmroot/gettext Cloning into '/var/lib/mock/dist-an23-build-189088-60731/root/chroot_tmpdir/scmroot/gettext'... $ git fetch origin 5bc3d4bbd891808a789c139a51d6701a5f72f2c2:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/gettext * [new ref] 5bc3d4bbd891808a789c139a51d6701a5f72f2c2 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5bc3d4b fix versioned conflicts