Live data from Hacker News

Git Tutorials for Beginners

sixrevisions.com

11–20 of 29 posts

Re: Git Tutorials for Beginners

#12

Why would anyone want 10 tutorials?

To find the one that helps them the most? Not everyone learns in the same way, and not everyone teaches in the same way. The more choices you have, the more likely you are to hit on the one that lets you really grok something.

Re: Git Tutorials for Beginners

#13

Has anyone read Apress's Pro Git by Scott Chacon? Do you recommend it?

I absolutely recommend it! It's great. Read it online from the link provided by the comment below or buy the book, what ever suits you best.

I also recommend to heavily use gitk while learning, just use it to see what happens after you do something in your test repositories. It's very enlightening.

Re: Git Tutorials for Beginners

#14
Beyond git tutorials, I recommend easygit (eg). It's a "training wheels" wrapper for git and available in Ubuntu's Package Manager.

http://people.gnome.org/~newren/eg/

easygit is git with sane defaults and better error messages. It uses real git commands, so you don't need to unlearn anything when graduating to git. It has extra sanity checks (like checking for unstaged changes when committing). The help messages are more verbose and use more consistent terminology than git's man pages. For example, easygit always uses the term "staged" instead of "index/staged/add/hard/soft/mixed/cached/HEAD/etc." And `eg revert` behaves the same as Perforce, SVN, and Mercurial revert.

Re: Git Tutorials for Beginners

#15
'Pro Git' is a fine resource, but it is pretty intense for beginners. When I started, I just wanted to check something in. I've found the 'Pragmatic Guide to Git' to be the best reference for getting things done. It has a fantastic organization that sends you exactly where you need to go and lots of examples to perform the most common tasks.

Re: Git Tutorials for Beginners

#18

Beyond git tutorials, I recommend easygit (eg). It's a "training wheels" wrapper for git and available in Ubuntu's Package Manager. http://people.gnome.org/~newren/eg/ easygit is git with sane defaults and better error messages. It uses real git commands, so you don't need to unlearn anything when graduating to git. It has extra sanity checks (like checking for unstaged changes when committing). The help messages are…

The overloading of "checkout" to mean revert a file as well as "switch to a different branch" is for me one of the most confusing git design choices.

Re: Git Tutorials for Beginners

#20
post #18

Beyond git tutorials, I recommend easygit (eg). It's a "training wheels" wrapper for git and available in Ubuntu's Package Manager. http://people.gnome.org/~newren/eg/ easygit is git with sane defaults and better error messages. It uses real git commands, so you don't need to unlearn anything when graduating to git. It has extra sanity checks (like checking for unstaged changes when committing). The help messages are…

The overloading of "checkout" to mean revert a file as well as "switch to a different branch" is for me one of the most confusing git design choices.

1. You're right, it's confusing when coming from a Subversion background. 2. It makes sense when you realize that 'switching to a different branch' and 'reverting a file' are both operations that make your working copy (partly) match a branch, be it a different branch or just your current HEAD. Git is full of stuff like that. Once you get the fundamentals down it all starts to make sense.
Post reply on HN