Git Workflow

by Melvin Ram

creative-flow-directly-from-god1

ReinH | A Git Workflow for Agile Teams

Sharing of good work-flow is one of the keys to adoption and effective use of new technology.

Git is a relatively new technology and it’s workflow is not a topic that is discussed often in the Rails community SO it intrigued me when Bryan Liles mentioned the above article by ReinH in one of his videos. I highly recommend giving it a read as it presents some interesting ideas.

Here’s an example. Recently I had a need to build an ecommerce site. Spree is a nice open source ecommerce system built on Rails… however, it does not suit my needs perfectly and when I started looking around the code, I found some code that could be refactored to act more effectively.

I like to commit often… sometimes a little too often. Sometimes I’ll make a change, commit it, do a browser check to see if it works, go back, fix any errors, commit again, and repeat the cycle. The result of my frequent committing is that I have a ton of tiny commits that others won’t really find useful following along. If they tried, they’d understand, but they’d waste a ton of time because the commits are small and often filled with errors that are fixed on the next 2 or 3 commits.

What should I do? The article by ReinH proposes an answer to the problem. Go check it out! Be sure to not be a passive blog reader. Please leave feedback on what you thought. It acts as fuel for bloggers.

{ 1 comment… read it below or add one }

ReinH July 22, 2009 at 6:47 pm

Hi Melvin, thanks for the mention! Glad you found my article useful.

Leave a Comment