$ git clone -n https://gitee.com/src-opencloudos-rpms/zlib /var/lib/mock/dist-oc8-build-32458-9752/root/chroot_tmpdir/scmroot/zlib Cloning into '/var/lib/mock/dist-oc8-build-32458-9752/root/chroot_tmpdir/scmroot/zlib'... $ git reset --hard origin/oc8 HEAD is now at 222ceed import zlib-1.2.11-20.tl3