使用没有(或有限)修订历史记录的 git?

发布于 2024-10-08 08:08:50 字数 286 浏览 0 评论 0原文

我正在寻找带有自己的服务器的保管箱替代品,但没有运气。 iFolder 相当不错,但目前 iFolder 服务器只能安装在 Linux 上。我现在只有Windows服务器。 (我尝试了syncrify,但它没有像我预期的那样工作得很好)

所以经过几个小时的搜索,我放弃并决定使用git或subversion作为dropbox的替代品。

但我担心 git repos 会因二进制更改而耗尽磁盘空间。

有没有办法阻止 git 存储库存储修订历史记录或解决此问题的任何其他好方法?

I was searching for dropbox alternatives with own server, but had no luck. iFolder was pretty nice, but currently iFolder server could only be installed on linux. I have only Windows server now. (I tried syncrify, but it didn't work well as I expected)

So after hours of searching, I gave up and determined to use git or subversion as a dropbox alternative.

But I'm worrying about disk space that git repos will eat up with binary changes.

Is there a way to keep git repository from storing revision history or any other good approach for this problem?

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

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

发布评论

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

评论(1

揽清风入怀 2024-10-15 08:08:50

我想如果你关心历史,你会想要看看版本控制系统以外的东西。

版本控制系统的重点是维护更改历史记录,因此您无法真正将其关闭。

I think you'll want to look at something other than revision control systems if you're concerned about history.

The whole point of revision control systems is maintaining a history of changes, so you can't really turn that off.

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