$ git clone -n https://gitee.com/src-opencloudos-rpms/libX11.git /var/lib/mock/dist-oc9-build-52023-14596/root/chroot_tmpdir/scmroot/libX11 Cloning into '/var/lib/mock/dist-oc9-build-52023-14596/root/chroot_tmpdir/scmroot/libX11'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/libX11 * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d292ad3 import libX11-1.8.1-3.tl4