Two Git Workflows

Git’s problem is its complexity. Half of that is because it’s actually more powerful than the other systems: it’s got features that make it look scary but that you can ignore. Another half is that Git uses nonstandard names for about half its most common operations. (The rest of the VCS world has more or less settled on a basic command set, with names such as “checkout” and “revert”. Not Git!) And the third half is the index. The index is a mechanism for preventing what you commit from matching what you tested in your working directory.

Oliver Steele offers a git workflow that you see above. Benjamin Sandofsky has another workflow article with fewer diagrams. With git, diagrams are good, so read Steele’s first. I like the simplicity of this diagram from Steele’s post, and it should be the first diagram for a git newbie.

Git-transport

I’m still working out what I want git to do, but it is interesting to see how other developers use this tool.

Advertisements
Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: