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