实时版本控制软件
传统的版本控制软件并不缺乏,但我正在寻找不需要我不断提交的东西。换句话说,我正在寻找能够自动保存目录中所有文件历史记录的后台软件。如果可能的话,我还希望能够自己为稍后的基准添加提交注释。
我对解决方案是网络服务还是我自己托管的本地服务没有偏好,只要它是免费的或具有合理的一次性费用(请勿订阅)。性能和硬盘使用不是问题。
我希望我的要求不要太具体。我在网上搜索解决方案,但找不到任何可以满足我要求的软件。为了兼容性,我有 Windows 7 64 位和 AMD 处理器。
There's no shortage of traditional version control software, but I'm looking for something that doesn't require me to constantly commit. In other words, I am searching for background software that automatically keeps a history of all files in a directory. If possible, I would also like to be able to add commit notes myself for benchmarks later on.
I have no preference on whether or not the solution is a web service or a local service that I host myself, as long as it is free or has a reasonable one-time fee (no subscriptions please). Performance and Hard Drive Usage are not issues.
I hope that I'm not being too specific with my request. I searched the web for solutions, but I could not find any software that does what I want. For compatibility, I have Windows 7 64-bit and an AMD processor.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您应该考虑 Dropbox。它不是严格的版本控制软件,但它在后台运行并将您的文件同步到云端。
他们免费为您提供 2GB 存储空间(如果您付费订阅,则可以提供更多存储空间),并且从他们的网站上,您可以查看 Dropbox 文件夹中文件的不同版本。
You should consider Dropbox. It's not strictly version control software, but it runs in the background and syncs your files to the cloud.
They give you 2GB of storage for free (more if you pay a subscription), and from their website, you can view the different versions of the files in your Dropbox folder.
我不知道有任何软件或服务可以做到这一点。
不过我确实想出了一个快速的主意
这个想法看起来有点像黑客,它就在我的脑海中(所以在实施过程中可能会出现问题)。
创建使用
FileSystemWatcher
检测您想要版本化的位置的更改/创建/删除。进行检测后,执行 [bat/cmd/powershell/code/ect],使用 [在此处插入版本控制软件] 的命令行(或其他)界面进行提交。
我认为这相当简单。我认为它很容易实现,但这就是“头脑中”想法的危险。如果没有别的的话,这是一个寻找滚动的方向。 :)
I don't know of any software or services that do this.
I did come up with a quick idea though
This idea seems like a bit of a hack and it is right off the top of my head (so issues may come up in implementing).
Create an app/service that uses the
FileSystemWatcher
to detect changes/creation/deletion to the location(s) that you want to version.When a detection is made, do [bat/cmd/powershell/code/ect] that uses the command line (or other) interface of [insert version control software here] to do a commit.
I think it's fairly straight forward. I think it's easy to implement, but that's the danger of 'top of the head' ideas. A direction to look for rolling your if nothing else. :)
我不知道任何库存解决方案,但根据您的 IDE/Make 系统,您应该能够创建一个构建后事件,在成功构建后将文件提交到“常规”版本控制系统(版本控制系统将需要外部 API 或 CLI 才能正常工作)。然后,您可以在闲暇时在版本控制系统中添加提交注释等。
I don't know of any stock solutions, but depending on your IDE/Make system, you should be able to create a postbuild event that commits the files to your "regular" version control system after a successful build (the version control system will need an external API or CLI for this to work). You can then add commit notes, etc. in the version control system at your leisure.