Gitting Started with New Drupal.org VCS
This post is more than 10 years old. I do not delete posts, because even old information is still useful, but please know that some material on this page may be outdated or incorrect. Thanks!
This is half for my own reference, because I have a few other computers I still need to set up, and I don't want to keep referring back to drupal.org docs to get everything ready for Git.
In case you've been under a rock lately, drupal.org was down for a while yesterday, while a team of dedicated Drupal peeps spent a few hours migrating everything in drupal.org's version control system (which was running CVS) to Git. Git is an excellent tool for version control, and I've been using it for a few months for my personal projects (most recently, I've started using Tower on my Mac to make Git easier).
Without further ado, here are the steps/links you need to 'git' started with Git on drupal.org:
- Update your profile - you should add your computer's public SSH key, agree to drupal's Git guidelines (edit your profile to see that), and make sure you set your git config settings on your computer to use the same username/email you use in your drupal.org profile.
- Learn Git - Then learn more Git. Then learn a whole lotta Git.
- Clone a drupal project, and create a patch.
Read the entire Git handbook on drupal.org for more details. But, basically, you can now do things like add and remove files, create and merge branches, and more, with much less pain than you could yesterday.
Comments