This is a read-only archive of lispforum.com. The forum was locked to new users and posts and is preserved here as static HTML from a database snapshot taken on 2019-09-07.

What is the best git tutorial out there?

7 posts · 15288 views

I have been tempted over the past few weeks to start using git in earnest, switching away from darcs, which was my go-to VCS for the past couple of years. Git seems to have a lot of the attributes that I liked about darcs, but it also seems to have a lot more headroom. In particular, it seems to be a lot more complex than darcs, at least in the limit. Can anybody suggest a really good tutorial that provides a lot of the down-deep understanding of git? I have found a lot of tutorials while Googling, but most of them fall into the "If you want to do X, then type command Y," sort of thing. Useful for solving specific problems, but they don't do much to educate me on git's underlying theory of operation. I find that I really want to understand that in order to be able to reason about the system and understand how all the various commands fit in. Without that, I feel like I'm just a monkey typing magical incantations without really knowing what is happening underneath or why.
Cheers, Dave
Slowly but surely the world is finding Lisp. http://www.findinglisp.com/blog/

Re: What is the best git tutorial out there?

I've heard good things about the PeepCode stuff on git. They have a introductory screencast and an ebook about git internals. I've been meaning to pick them up.

I prefer the classic command-and-subcommand pattern of svn, mercurial et al; but git has too much momentum to be ignored at this stage.

Re: What is the best git tutorial out there?

I started with this detailed tutorial http://www.newartisans.com/blog_files/g ... tom.up.php after using SVN and Mercurial for about one year. There are some new features that seem strange at first, but everything becomes simple after you actually use it for a few days on a real project.

Re: What is the best git tutorial out there?

blandest wrote:I started with this detailed tutorial http://www.newartisans.com/blog_files/g ... tom.up.php after using SVN and Mercurial for about one year. There are some new features that seem strange at first, but everything becomes simple after you actually use it for a few days on a real project.
Excellent. This is about the best I have seen. Does anybody know of anything that's even deeper?
Cheers, Dave
Slowly but surely the world is finding Lisp. http://www.findinglisp.com/blog/

Re: What is the best git tutorial out there?

blandest wrote:I started with this detailed tutorial http://www.newartisans.com/blog_files/g ... tom.up.php after using SVN and Mercurial for about one year. There are some new features that seem strange at first, but everything becomes simple after you actually use it for a few days on a real project.
Really good documentation, maybe the best I've seen on Git. Though, after having used Git and Bzr, I've decided to get back to Darcs which is simpler and enough to manage my projects.

Re: What is the best git tutorial out there?

Tbh, i just use git init, clone, push, add, commit, and gitk to look at it a little, that is about it. It is enough for me so far. Kind of too lazy to figure out even how to revert -_-. I feel i will just learn it as i go.