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