A short introduction to git (the distributed version control system) and drush (the command-line interface for Drupal) and how they can play nicely together.
This presentation was delivered to the Drupal Western Australia User Group in May, 2012.
• Distributed version control system. • Every clone is a full-fledged repository. • Branches and tags are first class and working with them is easy. • The Drupal community standard.
• Built-in commands for core Drupal functionality. • Extension system for other modules to provide commands (Features, Migrate, etc.) • Underpins systems like Aegir.
command. • It has a few options: • skip-tables-key - leave tables out. • structure-tables-key - leave the data out. • ordered-dump - make the dump line- based.
your drushrc.php configuration file. • Your drushrc.php can also contain defaults values for all drush command arguments. • Setting defaults for these makes sql- dump much more useful!