$ git clone -n https://gitee.com/src-opencloudos-rpms/wayland-protocols.git /var/lib/mock/dist-oc8-build-33115-9989/root/chroot_tmpdir/scmroot/wayland-protocols Cloning into '/var/lib/mock/dist-oc8-build-33115-9989/root/chroot_tmpdir/scmroot/wayland-protocols'... $ git reset --hard c0cbc8bcf94b39bd06ff19520cfd2871dabeef94 HEAD is now at c0cbc8b import wayland-protocols-1.25-1.oc8