<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Adam @ Heroku - Latest Comments in http://adam.blog.heroku.com/past/2008/5/15/more_git_techniques/</title><link>http://adamheroku.disqus.com/</link><description></description><atom:link href="https://adamheroku.disqus.com/thread_58/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Tue, 09 Sep 2008 15:25:03 -0000</lastBuildDate><item><title>Re: http://adam.blog.heroku.com/past/2008/5/15/more_git_techniques/</title><link>http://adam.blog.heroku.com/past/2008/5/15/more_git_techniques/#comment-2249904</link><description>&lt;p&gt;Restore a file to repository version&lt;/p&gt;&lt;p&gt;  git: git checkout -f file&lt;/p&gt;&lt;p&gt;Set some changes aside to work on something else:&lt;/p&gt;&lt;p&gt;  svn: svn diff &amp;gt; /tmp/path ; svn revert -R .&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">bartman</dc:creator><pubDate>Tue, 09 Sep 2008 15:25:03 -0000</pubDate></item><item><title>Re: http://adam.blog.heroku.com/past/2008/5/15/more_git_techniques/</title><link>http://adam.blog.heroku.com/past/2008/5/15/more_git_techniques/#comment-2249903</link><description>&lt;p&gt;@Alissa - You're totally messing up my attempt to strawman Subversion. :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Adam Wiggins</dc:creator><pubDate>Tue, 09 Sep 2008 15:25:03 -0000</pubDate></item><item><title>Re: http://adam.blog.heroku.com/past/2008/5/15/more_git_techniques/</title><link>http://adam.blog.heroku.com/past/2008/5/15/more_git_techniques/#comment-2249902</link><description>&lt;p&gt;Completely besides the point I know, but.&lt;/p&gt;&lt;p&gt;&amp;gt; Restore a file to repository version&lt;br&gt;&amp;gt;   svn: rm file; svn up file&lt;br&gt;&amp;gt;   git: rm file; git checkout file&lt;/p&gt;&lt;p&gt;Wouldn't "svn revert file" be more efficient?&lt;/p&gt;&lt;p&gt;&amp;gt; Grab one commit without any of the commits around it:&lt;br&gt;&amp;gt;   svn: svn diff -rN1:N2 &amp;gt; my.patch; scp my.patch other.server; ssh other.server "patch &amp;lt; my.patch"&lt;br&gt;&amp;gt;   git: git fetch; git cherry-pick [commit-hash]&lt;/p&gt;&lt;p&gt;Am I missing something?  Wouldn't "svn merge -rN1:N2" work?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alissa</dc:creator><pubDate>Tue, 09 Sep 2008 15:25:03 -0000</pubDate></item></channel></rss>