From: Erik Faye-Lund Date: Mon, 24 Aug 2009 08:20:54 GMT Subject: Re: Pulling one commit at a time. Message-ID: <40aa078e0908240120o36004f78m52aa34c8a338854c@mail.gmail.com> In-Reply-To: <4A92476A.4060205@microchip.com> On Mon, Aug 24, 2009 at 9:55 AM, Sanjiv Gupta wrote: > It's a damn simple thing in SVN world. > $ svn info will give you the current version you are at, assume it is > "cur_rev" > $ svn update -r `expr $cur_rev + 1` > $ build > $ test I guess you could do it something like this. Unlike your example, this processes all new commits, not just the next one. $ git fetch origin master $ for c in $(git rev-list HEAD..FETCH_HEAD); do $ git checkout $c $ build $ test $ done $ git merge FETCH_HEAD -- Erik "kusma" Faye-Lund kusmabite@gmail.com (+47) 986 59 656