The GitHub

GitHubOk, I hinted that I would do a more thorough review of GitHub, the new and easy-to-use git repository hosting site. Although I’m still no power-user I’ve come to know the features that make GitHub worth using and so far unique.

The “Fork” feature is probably the most important one. Instead of just cloning a repository and working on it locally, you can fork it on GitHub. When you fork a project everyone can see you did, and has a nice flashy graph-view so they can see where you branched and what commits you made that are not (yet) in the upstream. GitHub forkAnd if you have introduced changes that you think would benefit the project you can send people (e.g. the original project owner) a “pull-request”. The recipient can then easily fetch/merge your changes into his project. It really doesn’t get much easier to contribute to (open-source) projects. I certainly did for the first time ;)

GitHub forks

Then there are feeds. You can watch projects, which means that your feed includes any commits/comments on the watched projects. It goes without saying that this can be quickly overwhelming for active projects. GitHubComments can be made on specific lines in a commit (or on the whole commit), which is a great feature (think of it as the equivalent to patches being discussed line-by-line in mailing-lists). I still prefer mails though ;)

The syntax-highlighting looks pretty good. I’ve already mentioned the very pale interface (as in low-contrast) and it still has not changed. But I think that most people really browse the commit history in their local clones anyway.

Each project has an attached Wiki too, so you can add a few pages (or a lot if you wish).

To conclude I can say that GitHub is a great service, since it has a free plan for public projects. I would not need it for my personal projects, but to run a or contribute to a open-source project it’s perfect. The amount you use its features is up to you. If you already have a Wiki, already have an active mailing-list and discuss patches there too then you can just use GitHub as the central source code repository (plus the forks of course). The real work is done on your local repository with git anyway, but y’already knew that I guess ;)

SVN is not a content-tracker

<em>jojo@host:~/svn/test$</em> svn add git-talk.pdf<br /> A (bin) git-talk.pdf<br /> <em>jojo@host:~/svn/test$</em> svn commit -m 'First file'<br /> Adding (bin) git-talk.pdf<br /> Transmitting file data .<br /> Committed revision 1.<br /> <em>jojo@host:~/svn/test$</em> du -sh ../test-repo<br /> <strong>6.5M</strong> ../test-repo<br /> <em>jojo@host:~/svn/test$</em> <strong>cp git-talk.pdf git-talk2.pdf</strong><br /> <em>jojo@host:~/svn/test$</em> svn add git-talk2.pdf<br /> A (bin) git-talk2.pdf<br /> <em>jojo@host:~/svn/test$</em> svn commit -m 'Second file'<br /> Adding (bin) git-talk2.pdf<br /> Transmitting file data .<br /> Committed revision 2.<br /> <em>jojo@host:~/svn/test$</em> du -sh ../test-repo<br /> <strong>13M</strong> ../test-repo

I rest my case. Now some of you (those who know git and know why they use it) might say “so what, that is no secret” while others may flip over backwards. The second group of people is the one I wanted to reach ;)

bottom-up git documentation

gitAs you can imagine I have been using git some more since the last post about it (and I’ve even been giving GitHub some more thorough investigation, but I’ll be posting about that later). Back then I already understood most of it (definetely enough to work with it), but just recently I got the feeling of really understanding git, especially the underlying data-structures and the consequences for the (power)-user.

The things that helped me were (besides the git manual which is good, but not graphical, and when it comes to the understanding of the data-structures, having little graphics is a must):

  • Git from bottom up, a cool PDF i discovered on the git-wiki.
  • The RailsConf-Talk by Scott Chacon, who also wrote the PeepCode Git PDF (which I haven’t read due to lack of interest and credit-card). The link points to a video and the slides can also be downloaded as PDF (they are pretty self-explanatory imho).
  • Git Magic, which is a cool guide and pretty well structured.

And for the people who are really into screencasts there is also

Cheese!

Worlds collide

Since I really don’t have anything else to write about (and since some people complained about the lack of non-techie topics here recently) I’m just gonna post a few pictures and a link to my Flickr-Photostream. I’m sure some of you haven’t checked it out yet, but photography is a hobby of mine so it shouldn’t be omitted in my weblog. Also, pretty images always draw attention ;)

Evening skyGrills need gauges tooShells stackedLousberg Impressions
Greek EurosMagic fingers
Spaziergang am DreiländereckIts really not that comfyYour's truly ;)Spaziergang am Dreiländereck

subscribe via RSS