$ git clone -n https://gitee.com/src-opencloudos-rpms/openssh /var/lib/mock/dist-oc8-build-57059-15205/root/chroot_tmpdir/scmroot/openssh Cloning into '/var/lib/mock/dist-oc8-build-57059-15205/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 8b33db9 import openssh-8.0p1-19.tl3