使用 Google 文档进行版本控制最佳实践?

发布于 2024-08-10 07:01:49 字数 1459 浏览 3 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

梦在深巷 2024-08-17 07:01:49

您可以尝试编写一个应用程序来执行此操作。阅读一些 google docs 协议文档,特别是 文档修订部分。但请注意,这将需要大量工作:您需要一个应用程序来将 google 文档中的修订版本中的所有数据与 git/svn 中的数据进行比较,反之亦然。

说真的,已经有了 SCM 配置,我会坚持下去,并做一个简单的 python 脚本,将最后的文档提交(或标签)“导出”到我的谷歌文档。通过这种方式,您可以在任何地方阅读文档(您只需要一个浏览器),但仍然具有传统 SCM 的优势,恕我直言,这是一种两全其美的方法。

You can try to write an application to do that. Read some google docs protocol documentation, specially Document Revisions section. Be aware though that this is going to be a lot of work: you would need an application that compares all the data from your revisions in google docs to your git/svn ones and vice versa.

Seriously, having already a SCM configuration, I would stick to it, and do a simple python script that would "export" the last docs commits (or tags) to my google docs. This way you can read your documentation anywhere (you just need a browser) but still having the benefits of a traditional SCM, being this a best-of-both-worlds approach IMHO.

故人爱我别走 2024-08-17 07:01:49

我不确定谷歌文档...但是你看过dropbox吗?我已经在几个中小型项目中使用过它,效果很好。

I am not sure about google docs... but have you looked at dropbox? I have used that on a couple small to medium sized projects and it worked well.

孤檠 2024-08-17 07:01:49

使用谷歌代码。 Google Docs 相当初级。它没有Word 的版本控制功能。不过,您可以保存许多修改。

Use Google Code. Google Docs is rather rudimentary. It doesn't have Word's versioning features. You can save many revisions however.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文