$ git clone -n https://gitee.com/src-opencloudos-rpms/wayland-protocols /var/lib/mock/dist-oc8-build-27342-8469/root/chroot_tmpdir/scmroot/wayland-protocols Cloning into '/var/lib/mock/dist-oc8-build-27342-8469/root/chroot_tmpdir/scmroot/wayland-protocols'... $ git reset --hard origin/oc8 HEAD is now at fd15eb9 import wayland-protocols-1.23-1.oc8