$ git clone -n https://gitee.com/src-opencloudos-rpms/gzip.git /var/lib/mock/dist-oc8_6-updates-build-26856-7944/root/chroot_tmpdir/scmroot/gzip Cloning into '/var/lib/mock/dist-oc8_6-updates-build-26856-7944/root/chroot_tmpdir/scmroot/gzip'... $ git reset --hard origin/oc8 HEAD is now at 9da3e6b import gzip-1.9-13.oc8_5