$ git clone -n https://gitee.com/src-opencloudos-rpms/opencloudos-release.git /var/lib/mock/dist-oc8-build-26749-7810/root/chroot_tmpdir/scmroot/opencloudos-release Cloning into '/var/lib/mock/dist-oc8-build-26749-7810/root/chroot_tmpdir/scmroot/opencloudos-release'... $ git reset --hard 8991818de109bc1cf69cb5ce4e9fac13c43f87b4 HEAD is now at 8991818 add os-release symlink