Submitted by Jeff Geerling on February 25, 2011 - 9:11am
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
A few more resources:
Permalink Submitted by Jeff Geerling on February 25, 2011 - 9:28am.
A few more resources:
http://www.garfieldtech.com/blog/cvs-obituary - Obit for Drupal CVS
@DrupalGitGremlin on Twitter (vs. @DrupalCVSTroll)
Ode to CVS (poor CVS.mp3)
Using Git through an NTLM/Corporate proxy/firewall
Check out my personal website: www.lifeisaprayer.com.
I think you are better off
Permalink Submitted by attiks (not verified) on February 25, 2011 - 1:47pm.
I think you are better off adding your public key ;p
Er... yep! Corrected.
Permalink Submitted by Jeff Geerling on February 25, 2011 - 1:48pm.
Er... yep! Corrected.
Check out my personal website: www.lifeisaprayer.com.
Please change this, do not
Permalink Submitted by peter droogmans (not verified) on February 25, 2011 - 1:54pm.
Please change this, do not ever give away your private key. You'll have to add your public key (normally with extension .pub) to drupal.org
I used these instructions to
Permalink Submitted by mikeytown2 (not verified) on February 25, 2011 - 11:52pm.
I used these instructions to hide all
*~fileshttp://technicalpickles.com/posts/configure-git-to-globally-ignore-some-...
I'm a git beginner (just compiled it; ubuntu has old versions) and right now I really want a GUI because I'm having to type almost 10 lines to create a patch via command line.
http://drupal.org/node/1065850#ubuntu-install
First patch for anyone who cares.
http://drupal.org/node/1073152#comment-4139734
Now going to see what it will take to commit it... wish me luck! So far
git push origin 6.x-1.xis a no go. Says everything is up to date.http://drupal.org/node/1073630
Add new comment