An Introduction to Using Version Control with Drupal Kathleen Murtagh Design 4 Drupal -- June 14, 2009
Why use Version Control? Constant backup of your project
Full history of your project's development
Reuse code that was previously removed
Remove changes that caused bugs
Enable collaborative development
Easier deployment to production
Typical Workflow Make your changes
Review your edits
Commit Rinse and Repeat!
Commits are Patches Multiple developers can work on the same file
View Your Commit History See your coworker's work
Understand the rational behind changes
Recapture a block of code that was removed
Change Versions of your Code (Don't be scared of this command line screen shot. I'll show you the graphical apps later) Test previous versions of your project
Find the commit that caused a bug
Remove Commits Find the commit that caused a bug
Revert the commit in whole or in part
???
Profit! ...

Intro To Version Control