I've been trying to study up on git
recently. There don't seem to be any books available on it. I've read a few introductions. I had a few minutes to play with it last week, and I got to the point where I thought: "Okay. I want to do X. I know there's a way, how do I do it?" The only thing I could find was a long list of individual git commands. There seem to be three different things (from the user's point of view) that are operated on by git commands.
- The database (things that have been committed)
- The index
- The working directory
If the man page synopsis of each command explicitly said what operations are performed on each of these three objects, then I think I'd be set. But the summaries are ambiguous. One problem is that most commands have a common option that is used to say if you want to also update to skip updating the index or working directory, etc.
So I think my next step is to make a table of the most common commands, with three columns, summarizing the affects that each command has on each of the three different parts of a git workspace. Roman
just recommended this page
. I haven't read it yet.