git

Using Git to patch drupal modules

As a Drupal Developer, I often find myself needing to submit patches back to drupal.org. One easy way to do this is to use git. Because git is a distributed version control, it can just be used locally. This is perfect for making a quick patch.

Here is how I go about doing it. I enter the module dir (this is one of the nice things that I do not have to worry about getting it from cvs). then I init git and add the files i need (or all for good measure) and do a commit

git init && git add * && git commit -m "start"
Syndicate content