$ git clone -n https://gitee.com/src-opencloudos-rpms/xorg-x11-server.git /var/lib/mock/dist-oc8-build-81617-55405/root/chroot_tmpdir/scmroot/xorg-x11-server Cloning into '/var/lib/mock/dist-oc8-build-81617-55405/root/chroot_tmpdir/scmroot/xorg-x11-server'... $ git fetch origin 58b2570c9b641dd6e1013e527798e33dd4f334f5:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/xorg-x11-server * [new ref] 58b2570c9b641dd6e1013e527798e33dd4f334f5 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 58b2570 import xorg-x11-server-1.20.11-24.tl3