$ git clone -n https://gitee.com/src-opencloudos-rpms/openssh /var/lib/mock/dist-oc8-build-40432-14569/root/chroot_tmpdir/scmroot/openssh Cloning into '/var/lib/mock/dist-oc8-build-40432-14569/root/chroot_tmpdir/scmroot/openssh'... $ git fetch origin oc8:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/openssh * [new branch] oc8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1e39980 import openssh-8.0p1-19.oc8_8