$ git clone -n https://gitee.com/src-opencloudos-rpms/openssh.git /var/lib/mock/dist-oc8-build-38521-12507/root/chroot_tmpdir/scmroot/openssh Cloning into '/var/lib/mock/dist-oc8-build-38521-12507/root/chroot_tmpdir/scmroot/openssh'... $ git reset --hard origin/oc8 HEAD is now at be6e805 import openssh-8.0p1-17.oc8