$ git clone -n https://gitee.com/src-opencloudos-rpms/protobuf /var/lib/mock/dist-oc8-build-30875-9205/root/chroot_tmpdir/scmroot/protobuf Cloning into '/var/lib/mock/dist-oc8-build-30875-9205/root/chroot_tmpdir/scmroot/protobuf'... $ git reset --hard origin/oc8 HEAD is now at de023ca import protobuf-3.5.0-15.oc8