$ git clone -n https://gitee.com/src-opencloudos-rpms/zlib.git /var/lib/mock/dist-oc8-build-34426-10869/root/chroot_tmpdir/scmroot/zlib Cloning into '/var/lib/mock/dist-oc8-build-34426-10869/root/chroot_tmpdir/scmroot/zlib'... $ git reset --hard c68c25e942bc3720bee71a2f20e74e0c490a3e59 HEAD is now at c68c25e import zlib-1.2.11-21.oc8