<?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: Vendor branches in git</title>
	<atom:link href="http://happygiraffe.net/blog/2008/02/07/vendor-branches-in-git/feed/" rel="self" type="application/rss+xml" />
	<link>http://happygiraffe.net/blog/2008/02/07/vendor-branches-in-git/</link>
	<description></description>
	<lastBuildDate>Tue, 16 Feb 2010 16:00:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: dom</title>
		<link>http://happygiraffe.net/blog/2008/02/07/vendor-branches-in-git/comment-page-1/#comment-936</link>
		<dc:creator>dom</dc:creator>
		<pubDate>Sun, 01 Mar 2009 19:46:45 +0000</pubDate>
		<guid isPermaLink="false">tag:happygiraffe.net:Article12966#comment-936</guid>
		<description>&lt;a href=&quot;#comment-935&quot; rel=&quot;nofollow&quot;&gt;@Graham Barr&lt;/a&gt; That&#039;s a &lt;em&gt;suberb&lt;/em&gt; suggestion — thanks!</description>
		<content:encoded><![CDATA[<p><a href="#comment-935" rel="nofollow">@Graham Barr</a> That&#8217;s a <em>suberb</em> suggestion — thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Graham Barr</title>
		<link>http://happygiraffe.net/blog/2008/02/07/vendor-branches-in-git/comment-page-1/#comment-935</link>
		<dc:creator>Graham Barr</dc:creator>
		<pubDate>Sat, 28 Feb 2009 15:06:42 +0000</pubDate>
		<guid isPermaLink="false">tag:happygiraffe.net:Article12966#comment-935</guid>
		<description>Another alternative is to store wordpress in a repository of its own and add it as a remote to your working repository.
&lt;pre lang=&quot;bash&quot;&gt;
  git remote add wordpress /path/to/wordpress/repository
&lt;/pre&gt;
Your rm -r * will then be in the wordpress repository and not effect your uploaded files. To update your working repository you would then do

&lt;pre lang=&quot;bash&quot;&gt;
  cd /path/to/wordpress/repository
  # import as before
  cd /path/to/workdir
  git fetch wordpress
  git merge wordpress/master
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Another alternative is to store wordpress in a repository of its own and add it as a remote to your working repository.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">  git remote add wordpress <span style="color: #000000; font-weight: bold;">/</span>path<span style="color: #000000; font-weight: bold;">/</span>to<span style="color: #000000; font-weight: bold;">/</span>wordpress<span style="color: #000000; font-weight: bold;">/</span>repository</pre></div></div>

<p>Your rm -r * will then be in the wordpress repository and not effect your uploaded files. To update your working repository you would then do</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">  <span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>path<span style="color: #000000; font-weight: bold;">/</span>to<span style="color: #000000; font-weight: bold;">/</span>wordpress<span style="color: #000000; font-weight: bold;">/</span>repository
  <span style="color: #666666; font-style: italic;"># import as before</span>
  <span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>path<span style="color: #000000; font-weight: bold;">/</span>to<span style="color: #000000; font-weight: bold;">/</span>workdir
  git fetch wordpress
  git merge wordpress<span style="color: #000000; font-weight: bold;">/</span>master</pre></div></div>

]]></content:encoded>
	</item>
</channel>
</rss>
