$ git clone -n https://gitee.com/src-opencloudos-rpms/libX11.git /var/lib/mock/dist-oc9-build-61676-16463/root/chroot_tmpdir/scmroot/libX11 Cloning into '/var/lib/mock/dist-oc9-build-61676-16463/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 57bd4a7 import libX11-1.8.7-1.tl4