Dropbox 为您提供了一些历史支持,但它不像 Git 那样广泛和可控。如果开发人员了解 Git,那么将他们的配置文件保存在 Git 中用于诸如 Emacs 之类的东西对他们来说是有意义的。您拥有完整的版本控制,您永远不会丢失旧版本,您可以在有用的时间点使用有意义的消息提交更改,等等。
现在,当 Git 允许您在存储库之间推/拉时,为什么要在 Dropbox 上这样做呢?简单。如果您的文件在 Dropbox 上,它们会在您所有连接 Dropbox 的计算机上透明且自动地显示。因此,您无需担心“我是否拉取了更改?最近的更改在哪里?” 等等。正如其他人所提到的,您也不需要在某个地方、您自己的服务器或付费服务上拥有一个私人 Git 存储库。
Doing both also gives you the advantage of being able to easily clone your configuration to computers that do not support Dropbox easily (e.g. remote servers). Dropbox to sync to your laptop/desktop/workstation, git on the servers, and you have the same configuration everywhere with minimal hassle. And meaningful versioning.