如何将gdoc的修订历史记录导出到git? [英] How do I export the revision history of a gdoc to git?

查看:58
本文介绍了如何将gdoc的修订历史记录导出到git?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Google文档中有一个电子表格,希望将其集成到git工作流程中(并推送到github).有没有工具或什至是支持gdoc版本的库呢?

I have a spreadsheet in google docs that I'd want to integrate in a git workflow (and push to github). Are there any tools (or even libraries that are gdoc version aware) that do, or help me do, that?

我有一些基于 google_spreadsheet gem 的红宝石老方法,它们可以读写当前版本的csv gdoc,但没有提取修订历史记录的内容.

I have some old ruby hacks lying around based on the google_spreadsheet gem that reads and writes current versions of a csv gdoc, but nothing which extracts revision history.

推荐答案

未将gdoc设置为导出修订历史记录

gdoc is not set up for exporting revision history source.

Google云端硬盘确实具有API,可以在此处访问所有修订版本.这提供了下载所有修订版的简便方法.然后,您可以创建一个脚本,将它们一个接一个地添加到git中.修订历史记录存在一些问题,请参见此处.

Google drive does have an API to access all the revisions here. That provides an easy way to download all the revisions. Then you can create a script to add them one by one to git. There are some problems with the revision history see here.

这篇关于如何将gdoc的修订历史记录导出到git?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆