<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: git-svn in the workplace</title>
	<atom:link href="http://www.chrishowie.com/2010/04/01/git-svn-in-the-workplace/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chrishowie.com/2010/04/01/git-svn-in-the-workplace/</link>
	<description>The best laid plans are in my other pants</description>
	<lastBuildDate>Thu, 01 Dec 2011 15:21:02 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Chris</title>
		<link>http://www.chrishowie.com/2010/04/01/git-svn-in-the-workplace/comment-page-1/#comment-17396</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Fri, 02 Apr 2010 19:17:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrishowie.com/?p=365#comment-17396</guid>
		<description>Ah, I haven&#039;t used the -i option to rebase to do that -- I&#039;ll have to give it a go.  As a personal preference, I don&#039;t typically squash my commits because I like the complete history to be in SVN.  But I&#039;m sure -i will be very useful for altering commit messages before I dcommit.</description>
		<content:encoded><![CDATA[<p>Ah, I haven&#8217;t used the -i option to rebase to do that &#8212; I&#8217;ll have to give it a go.  As a personal preference, I don&#8217;t typically squash my commits because I like the complete history to be in SVN.  But I&#8217;m sure -i will be very useful for altering commit messages before I dcommit.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://www.chrishowie.com/2010/04/01/git-svn-in-the-workplace/comment-page-1/#comment-17393</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Fri, 02 Apr 2010 17:41:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrishowie.com/?p=365#comment-17393</guid>
		<description>I use a similar workflow but as git has many ways do to everything I use a slightly different method. To change a previous commit (assuming you&#039;ve not done git svn dcommit). Basically, I save up a bunch of local commits as I work and then when I&#039;m done I push them together so that I&#039;m sending relatively coherent commits. I&#039;m sure you know that you can use &#039;git rebase -i&#039; to squash commits together but you can also use it to edit commits (including commit messages) or to break commits apart. So to change a commit message:

$ git rebase -i HEAD~5
# mark the required commit as &#039;edit&#039;
$ git commit --amend
# change the commit message
$ git rebase --continue

Repeat until happy then:

$ git svn dcommit

I&#039;m not aware of any real difference between the two approaches - I like mine as I get to look at the list of commit messages and choose the ones I want to change (and as I&#039;m often squashing commits together at the same time it all fits together well for me).

cheers,
-mark</description>
		<content:encoded><![CDATA[<p>I use a similar workflow but as git has many ways do to everything I use a slightly different method. To change a previous commit (assuming you&#8217;ve not done git svn dcommit). Basically, I save up a bunch of local commits as I work and then when I&#8217;m done I push them together so that I&#8217;m sending relatively coherent commits. I&#8217;m sure you know that you can use &#8216;git rebase -i&#8217; to squash commits together but you can also use it to edit commits (including commit messages) or to break commits apart. So to change a commit message:</p>
<p>$ git rebase -i HEAD~5<br />
# mark the required commit as &#8216;edit&#8217;<br />
$ git commit &#8211;amend<br />
# change the commit message<br />
$ git rebase &#8211;continue</p>
<p>Repeat until happy then:</p>
<p>$ git svn dcommit</p>
<p>I&#8217;m not aware of any real difference between the two approaches &#8211; I like mine as I get to look at the list of commit messages and choose the ones I want to change (and as I&#8217;m often squashing commits together at the same time it all fits together well for me).</p>
<p>cheers,<br />
-mark</p>
]]></content:encoded>
	</item>
</channel>
</rss>

