Skip to Content

Free TUAW iPhone app -- try it now!
AOL Tech

Filed under: Developer, Office, Productivity

Dev Chair : Getting the most out of version control


So you've picked a version control system and successfully installed/configured it. Now it's time to figure out how to get the most out of all this newfound power.

The What
What kind of files would you want to put under version control? Anything and everything! Seriously, everything that you work on every hour of the day makes a perfect candidate for version control.


You'll notice that I left out media content such as digital photos or music files. Most version control systems are designed for software development and mainly deal with plain text files. Though binary files can be stored in the repository, being binary means difference comparison between versions aren't possible. If you have a large quantity of digital media content to manage, it is generally better to use specialized management tools than version control systems.

The When
So how often should you commit your changes to the repository? The answer is kind of straightforward for software developers because their stopping points tend to be either a) the application compiles successfully, b) the tests run with no failure, or c) the new feature works/bug is fixed.

For non-developers, it is less clear cut. My rule of thumb is that if you start tinkering with whatever you are doing instead of 'working', it is an indication that you have reached a plateau and it's time to commit your changes.

For example, let's say you have been modifying a bunch of files for a new blog template. At some point the blog will look half decent and your mind may begin to wander to the 'next big thing'. That's the point you want to commit all your changes to the version control system. This way, if your 'next big thing' turns out to be the next big dud, you can easily revert back to the moment where you took a wrong turn. Depending on how you work, this can mean committing changes every 15 minutes to an hour. The thing to remember is 'commit often'.

Summary
I hope I've given enough information to encourage wider adoption of version control. It might feel a bit disruptive to your day to day work in the beginning but very soon committing files will become second nature -- just like saving files is now -- More importantly, the benefits a version control system bring to any one with content to manage outweigh the slight learning curve; You trade just a little pain in the short term for big gain in the long run.
jobs & resumes
Lead Blogger

AOL Find a Job - New York, NY (4 weeks ago)

See More Relevant Jobs ›

Reader Comments (Page 1 of 1)

Featured Time Waster

The World's Hardest Game 2.0 - Time Waster

So, just how good at time waster games are you? Think you've got the stuff? Well, The World's Hardest Game 2.0 doesn't think you do. Yes, amazingly, it's possible to have a sequel to a game called "The World's Hardest Game". It doesn't seem logically possible, since if the first one was actually the world's hardest, how could another one come along and share the moniker? It made me doubt the name in the first place. That is, until I tried the game. The mechanics of the game are very simple. You are a small red square, ...

View more Time Wasters

Featured Galleries

Defective by Design, London: Protest Pictures
Livescribe Store
Microsoft Security Essentials
Chromium Pre-Alpha on CrunchBang Linux
Safari 4 Beta
10 Firefox themes that don't suck
IE8 RC1
Download Squad at the Crunchies After-Party
Download Squad at the Crunchies
WordPress 2.7
Cooking Mama: Mama Kills Animals
Windows 7 Hands On
Comodo Internet Security
Android First-look: Amazon.com MP3 Store
Android First-look: Twitroid
Google Reader Android
Android Hands-On
Twine 1.0
Photoshop Express Beta
Mozilla Birthday Cake
Palm stuff

 


Follow us on Twitter!

Flickr Pool

www.flickr.com

More Tech Coverage

AOL Radio