$ git clone -n https://gitee.com/src-opencloudos-rpms/zlib.git /var/lib/mock/dist-oc8_6-updates-build-26850-7930/root/chroot_tmpdir/scmroot/zlib Cloning into '/var/lib/mock/dist-oc8_6-updates-build-26850-7930/root/chroot_tmpdir/scmroot/zlib'... $ git reset --hard origin/oc8 HEAD is now at f5ff355 import zlib-1.2.11-18.oc8_5