Git works like SVN. It's nowhere near as friendly to use, mostly
because all of the tools are command line tools - no fancy UIs.
There are a lot of tutorials on how to use git on the web so I'm not
going to try and teach it to you here. If you are familiar with git
you can simply fork a branch (in this case, for now, fork mine:
) make changes by altering
or adding files, then commit your changes. When you're ready to send
them to us to include, you need to push your changes back up to
github, then send a pull request to me or one of the other MooTools-
more developers. Here's what it looks like when I do it:
//here you would add a remote for your branch, not mine
git remote add anutron git://github.com/anutron/mootools-more.git
git pull anutron master:local-master
//you are now working on a local branch called local-master
//make changes, add files, etc. then commit all the files
git commit -a
//when you're ready, push them back to git
git push anutron local-master:master
//now you can send me a pull request on github
I think I have all that right. There's an easier way if you don't want
to fool around with the command line tools though, so long as you
don't have to add a file (this method is only useful to submit edits).
Simply go to github, signup, and then visit my branch:
Click "fork" and now you'll have your own copy
Browse through the directory and find the file you want to submit a
change to. Then click "edit" in the upper right hand corner. Make your
changes and enter a message in the input at the bottom for the commit
message. Save your file. Then send a pull request.
This method doesn't have a way to add a file that I can see. For new
files, if you don't want to fool around with git, just use gist
) and post the link here.