$ git clone -n https://gitee.com/src-opencloudos-rpms/libssh.git /var/lib/mock/dist-oc8-build-38465-12472/root/chroot_tmpdir/scmroot/libssh Cloning into '/var/lib/mock/dist-oc8-build-38465-12472/root/chroot_tmpdir/scmroot/libssh'... $ git reset --hard origin/oc8 HEAD is now at b9c7611 import libssh-0.9.6-6.tl3