Git

A time to rejoice and a time to grovel

Time to grovel, my gift to dan this morning was to erase all his hard work!! CRAP!!!!

Let me explain, Dan wanted to do a git commit but was confused when the files weren’t appearing in the repository on Github. The reason for this was that he thought that

$ git commit –am “message”

would also add any files that weren’t already in the index and it doesn’t. All it does is add currently tracked files in to the staging area and commit them so you don’t have to run 2 commands.

A Few Git Resources

I did a lunchtime session on some Git basics last week. It is clearly a different mindset which takes a bit of time to adapt to. But it’s worth the effort, the popularity of Github, now sitting at over a million users should be a good indication that there’s a few treasures awaiting.

Here are a couple of books which will hopefully be useful to grow your git knowledge.

Pro Git Book

The Pro Git book can be read online or downloaded for free on various eReader formats. You can also get the paper copy from Amazon.