Why should I use version control if I'm working alone and already back up regularly?

后端 未结 16 1713
有刺的猬
有刺的猬 2021-02-05 16:53

I\'m working on a project:

  • Just me, no collaboration/source code sharing
  • I\'m already backing my code up regularly, and I can use Dropbox to restore mista
16条回答
  •  [愿得一人]
    2021-02-05 17:33

    I recommend using bzr as it works best for someone who is just using it for their own code (not a team) as it doesn't require backing up to a server (all revisions are stored with each "branch")...

    As far as the benefit, its so you can roll-back changes in the code to any point in time, so if you do daily backups, you can roll-back the code to get it from any day that you made a backup. This way you can feel comfortable re-writing code or deleting old code that you think you won't need but if you do end up needing it again it is accessible. For larger projects it helps with debugging since, if a new feature makes a bug appear you can roll-back to earlier if needed.

提交回复
热议问题