$ git clone -n https://gitee.com/src-opencloudos-rpms/libXxf86dga.git /var/lib/mock/dist-oc9-build-70638-47457/root/chroot_tmpdir/scmroot/libXxf86dga Cloning into '/var/lib/mock/dist-oc9-build-70638-47457/root/chroot_tmpdir/scmroot/libXxf86dga'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/libXxf86dga * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 97a2200 import libXxf86dga-1.1.6-1.tl4