$ git clone -n https://gitee.com/src-opencloudos-rpms/lynx.git /var/lib/mock/dist-oc9-build-70711-47462/root/chroot_tmpdir/scmroot/lynx Cloning into '/var/lib/mock/dist-oc9-build-70711-47462/root/chroot_tmpdir/scmroot/lynx'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/lynx * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f17ad55 import lynx-2.9.0dev.12-5.tl4