使用没有(或有限)修订历史记录的 git?
我正在寻找带有自己的服务器的保管箱替代品,但没有运气。 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我想如果你关心历史,你会想要看看版本控制系统以外的东西。
版本控制系统的重点是维护更改历史记录,因此您无法真正将其关闭。
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.