$ git clone -n https://gitee.com/xzyang-anolis/xorg-x11-resources.git /var/lib/mock/dist-an23-dde-build-347696-70383/root/chroot_tmpdir/scmroot/xorg-x11-resources Cloning into '/var/lib/mock/dist-an23-dde-build-347696-70383/root/chroot_tmpdir/scmroot/xorg-x11-resources'... $ git fetch origin ac82b204f3b753741c8f83cbaec8110838c44fd0:KOJI_FETCH_HEAD From https://gitee.com/xzyang-anolis/xorg-x11-resources * [new ref] ac82b204f3b753741c8f83cbaec8110838c44fd0 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ac82b20 pkg init