<?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: fetch and merge, don&#8217;t pull</title>
	<atom:link href="http://longair.net/blog/2009/04/16/git-fetch-and-merge/feed/" rel="self" type="application/rss+xml" />
	<link>http://longair.net/blog/2009/04/16/git-fetch-and-merge/</link>
	<description>(occasional miscellanea)</description>
	<lastBuildDate>Wed, 28 Jul 2010 23:07:08 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Cyrus Master</title>
		<link>http://longair.net/blog/2009/04/16/git-fetch-and-merge/comment-page-1/#comment-4609</link>
		<dc:creator>Cyrus Master</dc:creator>
		<pubDate>Mon, 26 Apr 2010 08:42:25 +0000</pubDate>
		<guid isPermaLink="false">http://longair.net/blog/?p=6#comment-4609</guid>
		<description>Fantastic article.  Thanks!</description>
		<content:encoded><![CDATA[<p>Fantastic article.  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Wagner</title>
		<link>http://longair.net/blog/2009/04/16/git-fetch-and-merge/comment-page-1/#comment-3707</link>
		<dc:creator>Jason Wagner</dc:creator>
		<pubDate>Thu, 04 Mar 2010 06:22:56 +0000</pubDate>
		<guid isPermaLink="false">http://longair.net/blog/?p=6#comment-3707</guid>
		<description>Excellent post! Thanks so much for taking the time to write this up, it has helped a lot. I&#039;m pretty comfortable with SVN and some other proprietary SCM&#039;s.. but i&#039;m just learning Git. Some of the principals are quite tricky! :p</description>
		<content:encoded><![CDATA[<p>Excellent post! Thanks so much for taking the time to write this up, it has helped a lot. I&#8217;m pretty comfortable with SVN and some other proprietary SCM&#8217;s.. but i&#8217;m just learning Git. Some of the principals are quite tricky! :p</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chhh</title>
		<link>http://longair.net/blog/2009/04/16/git-fetch-and-merge/comment-page-1/#comment-2589</link>
		<dc:creator>chhh</dc:creator>
		<pubDate>Mon, 04 Jan 2010 19:59:27 +0000</pubDate>
		<guid isPermaLink="false">http://longair.net/blog/?p=6#comment-2589</guid>
		<description>Well, it&#039;s your article, so you decide.
Usually i just scan through pages when searching for solution, but read this whole text.

Yes &quot;git merge origin/master&quot; part may become confusing for many people who are only beginning using git. In my opinion it would have been very helpful if you had mentioned ways to get out of merge conflicts (not in full blown detail, just brief directions like git reset --merge/hard HEAD or something)</description>
		<content:encoded><![CDATA[<p>Well, it&#8217;s your article, so you decide.<br />
Usually i just scan through pages when searching for solution, but read this whole text.</p>
<p>Yes &#8220;git merge origin/master&#8221; part may become confusing for many people who are only beginning using git. In my opinion it would have been very helpful if you had mentioned ways to get out of merge conflicts (not in full blown detail, just brief directions like git reset &#8211;merge/hard HEAD or something)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mark</title>
		<link>http://longair.net/blog/2009/04/16/git-fetch-and-merge/comment-page-1/#comment-2556</link>
		<dc:creator>mark</dc:creator>
		<pubDate>Sun, 03 Jan 2010 12:04:15 +0000</pubDate>
		<guid isPermaLink="false">http://longair.net/blog/?p=6#comment-2556</guid>
		<description>Thanks for your comment, chhh.  Do you mean something like the bit where I talk about doing &quot;git merge origin/master&quot;?  I suppose it could go into more detail about the different options for doing that (e.g. &quot;git reset --hard origin/master&quot; to throw away your changes, &quot;git rebase&quot;, etc.) for various situations, but I&#039;m a bit worried that the post is already overlong.</description>
		<content:encoded><![CDATA[<p>Thanks for your comment, chhh.  Do you mean something like the bit where I talk about doing &#8220;git merge origin/master&#8221;?  I suppose it could go into more detail about the different options for doing that (e.g. &#8220;git reset &#8211;hard origin/master&#8221; to throw away your changes, &#8220;git rebase&#8221;, etc.) for various situations, but I&#8217;m a bit worried that the post is already overlong.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chhh</title>
		<link>http://longair.net/blog/2009/04/16/git-fetch-and-merge/comment-page-1/#comment-2329</link>
		<dc:creator>chhh</dc:creator>
		<pubDate>Fri, 18 Dec 2009 22:28:27 +0000</pubDate>
		<guid isPermaLink="false">http://longair.net/blog/?p=6#comment-2329</guid>
		<description>a very useful and descriptive post, thank you
the only thing missing, in my opinion, is an example of of updating a local -track branch with a remote tracking one.</description>
		<content:encoded><![CDATA[<p>a very useful and descriptive post, thank you<br />
the only thing missing, in my opinion, is an example of of updating a local -track branch with a remote tracking one.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mark</title>
		<link>http://longair.net/blog/2009/04/16/git-fetch-and-merge/comment-page-1/#comment-1431</link>
		<dc:creator>mark</dc:creator>
		<pubDate>Wed, 04 Nov 2009 12:01:48 +0000</pubDate>
		<guid isPermaLink="false">http://longair.net/blog/?p=6#comment-1431</guid>
		<description>I don&#039;t think there&#039;s a single command that will do that. You&#039;d have to be quite careful about writing such a script, since you would need to safely checkout each branch (i.e. check that the working tree is clean before you switch) and check that the merge will be a fast-forward.

I can&#039;t really imagine wanting to do that, myself, because in practice the warning you get on checking out a branch (i.e. the one about the state of that branch with regard to the remote-tracking branch it tracks) stops me from forgetting to merge before carrying on work.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t think there&#8217;s a single command that will do that. You&#8217;d have to be quite careful about writing such a script, since you would need to safely checkout each branch (i.e. check that the working tree is clean before you switch) and check that the merge will be a fast-forward.</p>
<p>I can&#8217;t really imagine wanting to do that, myself, because in practice the warning you get on checking out a branch (i.e. the one about the state of that branch with regard to the remote-tracking branch it tracks) stops me from forgetting to merge before carrying on work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alexandrul</title>
		<link>http://longair.net/blog/2009/04/16/git-fetch-and-merge/comment-page-1/#comment-1429</link>
		<dc:creator>alexandrul</dc:creator>
		<pubDate>Wed, 04 Nov 2009 11:20:42 +0000</pubDate>
		<guid isPermaLink="false">http://longair.net/blog/?p=6#comment-1429</guid>
		<description>In the first place, thank you for the article.

As a side question, after a fetch, how can I merge all tracked remote branches with the local ones in a single command? (besides creating a script to merge each branch in turn)</description>
		<content:encoded><![CDATA[<p>In the first place, thank you for the article.</p>
<p>As a side question, after a fetch, how can I merge all tracked remote branches with the local ones in a single command? (besides creating a script to merge each branch in turn)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mark</title>
		<link>http://longair.net/blog/2009/04/16/git-fetch-and-merge/comment-page-1/#comment-7</link>
		<dc:creator>mark</dc:creator>
		<pubDate>Wed, 22 Apr 2009 15:23:25 +0000</pubDate>
		<guid isPermaLink="false">http://longair.net/blog/?p=6#comment-7</guid>
		<description>Sitaram: thanks for bringing that to my attention.  I&#039;ve just tested on one of the systems I use which still has git 1.5.3.5 and it does give an error in that case:
&lt;code&gt;
  $ git push origin topic:topic-new
  error: dst refspec topic-new does not match any existing ref on the remote and does not start with refs/.
  fatal: The remote end hung up unexpectedly
  error: failed to push to &#039;/home/mark/tmp/foo/.git&#039;
&lt;/code&gt;
... but the same test on git 1.6.1.2 works OK:
&lt;code&gt;
  $ git push origin topic:new-topic
  Total 0 (delta 0), reused 0 (delta 0)
  To /home/mark/tmp/quuz/
   * [new branch]      topic -&gt; new-topic
&lt;/code&gt;
At least I wasn&#039;t just making it up :)  I&#039;ll update the post with a note that that only applies to older versions.</description>
		<content:encoded><![CDATA[<p>Sitaram: thanks for bringing that to my attention.  I&#8217;ve just tested on one of the systems I use which still has git 1.5.3.5 and it does give an error in that case:<br />
<code><br />
  $ git push origin topic:topic-new<br />
  error: dst refspec topic-new does not match any existing ref on the remote and does not start with refs/.<br />
  fatal: The remote end hung up unexpectedly<br />
  error: failed to push to '/home/mark/tmp/foo/.git'<br />
</code><br />
&#8230; but the same test on git 1.6.1.2 works OK:<br />
<code><br />
  $ git push origin topic:new-topic<br />
  Total 0 (delta 0), reused 0 (delta 0)<br />
  To /home/mark/tmp/quuz/<br />
   * [new branch]      topic -> new-topic<br />
</code><br />
At least I wasn&#8217;t just making it up :)  I&#8217;ll update the post with a note that that only applies to older versions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sitaram</title>
		<link>http://longair.net/blog/2009/04/16/git-fetch-and-merge/comment-page-1/#comment-5</link>
		<dc:creator>Sitaram</dc:creator>
		<pubDate>Wed, 22 Apr 2009 13:40:41 +0000</pubDate>
		<guid isPermaLink="false">http://longair.net/blog/?p=6#comment-5</guid>
		<description>inside the little breakout box starting with &quot;aside...&quot;, it says:

… or if “experiment-by-bob” doesn’t already exist, the syntax needs to be:

      git push origin experimental:refs/heads/experiment-by-bob

I have just tested it and it is not necessary; I can make a brand new branch and push it to a *different* new name to origin without needing that &quot;refs/heads&quot; part.

This is on Git 1.6.2; I did not check older versions but I do not remember ever having to do this.</description>
		<content:encoded><![CDATA[<p>inside the little breakout box starting with &#8220;aside&#8230;&#8221;, it says:</p>
<p>… or if “experiment-by-bob” doesn’t already exist, the syntax needs to be:</p>
<p>      git push origin experimental:refs/heads/experiment-by-bob</p>
<p>I have just tested it and it is not necessary; I can make a brand new branch and push it to a *different* new name to origin without needing that &#8220;refs/heads&#8221; part.</p>
<p>This is on Git 1.6.2; I did not check older versions but I do not remember ever having to do this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mark</title>
		<link>http://longair.net/blog/2009/04/16/git-fetch-and-merge/comment-page-1/#comment-4</link>
		<dc:creator>mark</dc:creator>
		<pubDate>Tue, 21 Apr 2009 13:30:34 +0000</pubDate>
		<guid isPermaLink="false">http://longair.net/blog/?p=6#comment-4</guid>
		<description>Deskin: thanks, and thank-you for catching that error; I&#039;ve corrected the appropriate bits.</description>
		<content:encoded><![CDATA[<p>Deskin: thanks, and thank-you for catching that error; I&#8217;ve corrected the appropriate bits.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
