$ git clone -n https://gitee.com/lilongjiang1/libssh.git /var/lib/mock/dist-an8.9-build-369954-71163/root/chroot_tmpdir/scmroot/libssh Cloning into '/var/lib/mock/dist-an8.9-build-369954-71163/root/chroot_tmpdir/scmroot/libssh'... $ git reset --hard 121621bfc5b4bd23fc05195b74ac4733bd717c82 HEAD is now at 121621b update to 0.10.5