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