Read the article on my new blog under http://blog.js-development.com/2012/02/dont-rant-become-social-and-contribute.html
Todays web experience has changed a lot and so has done coding as well. Everything is around being social, interacting with people through social networks, blogs or online communities. I love Open Source, mainly because you can learn so much from others' code or even just inspect it when you experience problems. Still, contributing was always a bit cumbersome in my opinion. GitHub changed that!
So did I and so should you! If you're new, just get started with these steps here.
Setup your Git ToolsIf you haven't yet setup your workstation to be used with Git, just follow the instructions on the official site here. There is a very nice step by step explanation with screenshots and everything you'd need to have a smooth setup experience.
Fork the RepoGo and fork the repository where you found the bug. In my case it was the one of jQuery Validation. Again, if you don't have any experience in that, just follow the guide.
Get your repo and fix the bugGet the source of your (just forked) GitHub repository. In my case it was something like
git clone firstname.lastname@example.org:juristr/jquery-validationThen just fix the bug, commit the changes and push them back to your repo.
git commit -a -m "Fixed a grammar error in the german localization" git push origin master
Send a Pull RequestThe last step is to send a pull request to the upstream repository, namely the original repo (jQuery-validation) from which we created the fork before. Again, here's the doc.
The ResultA nice thanks from the author and your bugfix has been pulled into the master branch.