Using GitHub

I’ve been playing around with git for a while and today I hit a problem with the new release of jQuery. Version 1.3.2 could be loaded into svgs, but v.1.4 dies.

To check it out, I thought I’d give GitHub a try.

Creating an account and adding a key were as easy as:

ssh-keygen -t rsa -C "will@dhappy.org"
cat ~/.ssh/id_rsa.pub | xclip -sel clip

Then I just went to the jQuery page, forked the project and cloned it to my machine:

git clone git@github.com:wholcomb/jquery.git
cd jquery && make

I discovered two places that needed changing, wrote a couple tests and ran:

git commit -m "Removing unchecked assumptions that the source document is HTML."
git push

With the pushed changes in github, I then sent a pull request to the jQuery maintainers and my request was added to the fork queue for potential integration.

A bit later I got an e-mail asking me to add a bug ticket, so I did.

Open source collaboration is certainly getting simpler.

  • Share/Bookmark

0 comments ↓

There are no comments yet...Kick things off by filling out the form below.

Leave a Comment

CommentLuv Enabled