DEV Community

Discussion on: Git for solo developers

Collapse
 
_garybell profile image
Gary Bell

Absolutely use it for personal projects. It keeps me in good habits for when I'm coding at work, and means I can jump to other machines and still work.

In terms of Git saving me, it hasn't (yet) on a personal project. But in work it has, several times. A recent one was a simple single change to one file, late on a Friday afternoon. I was tired, in a hurry, and didn't read the conflict message properly. I got a really bad merge from the branch, but the site still loaded. Initial checks looked good, but 45 minutes later, I got a call saying some people were having issues checking out. Running everything through Git (no CI for that project, it's a horrible inherited legacy mess) meant I could see what had changed, revert the commit, merge the changes correctly and fix the issue in under an hour.