dropbox-style svn/git/mercurial?: auto-commit upon change and auto-checkout

前端 未结 3 1736
醉话见心
醉话见心 2021-01-18 00:04

I\'m not a professional programmer, but I do some small solo projects and I would like some versioning and syncing, but going through the process of remember to commit and c

3条回答
  •  暖寄归人
    2021-01-18 00:41

    Dropbox keeps few versions of files in history. Hardly can be called "versioning", but you can restore files to some time back in the past.

    If you really can not be bothered with commiting and merging, I'd say just live with dropbox, as it is nice and automatic.

    You can set up Scheduled Task (if on Windows) or Cron Job (if Linux) that will make a commit/push every 5 minutes. And pull/update every time you start your computer. But I can see a potential nightmare waiting to happen, especially on pull/update, when manual merge is required.

    Also, I'd advise using Mercurial, as it is much easier to learn/deal with than git, and more advanced than svn. This will take away some pain from version-control system.

提交回复
热议问题