Thursday, September 8, 2011

A lesson in version control

Hey guys, just a really quick post about version control. This was something that was touted to me during uni and I never really understood what it meant until this week. So I was set to make some major changes to the game and set about introducing some singleton pattern classes to reduce some of the load.

I however didn't think to save a new version of everything before starting to make changes - this was the first mistake as when I then found that a lot of the changes that I had made didn't work, I had nothing to fall back on, no backup - the only thing that I could do was reverse engineer all the work that I had done to get back to what I had started with.

The lesson: MAKE BACKUPS!!!



Post a Comment