<?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: A web-focused Git workflow</title>
	<atom:link href="http://joemaller.com/990/a-web-focused-git-workflow/feed/" rel="self" type="application/rss+xml" />
	<link>http://joemaller.com/990/a-web-focused-git-workflow/</link>
	<description>.com</description>
	<lastBuildDate>Sat, 19 May 2012 15:21:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Talofo</title>
		<link>http://joemaller.com/990/a-web-focused-git-workflow/#comment-235137</link>
		<dc:creator>Talofo</dc:creator>
		<pubDate>Sat, 24 Mar 2012 23:58:00 +0000</pubDate>
		<guid isPermaLink="false">http://joemaller.com/?p=990#comment-235137</guid>
		<description>1)From our staging directory - so that we call the remote repo equally.


2) To work on it locally.


3) It&#039;s part of the hook.


Jeff, one question still remains, you refer &quot;know setup the two hooks that I mention above&quot; ....

I&#039;m only seeing one hook. A post-update hook. 

What am I missing? 



Thanks again. It took 3 chapters on git pro book to answer those questions. :)
</description>
		<content:encoded><![CDATA[<p>1)From our staging directory &#8211; so that we call the remote repo equally.</p>
<p>2) To work on it locally.</p>
<p>3) It&#8217;s part of the hook.</p>
<p>Jeff, one question still remains, you refer &#8220;know setup the two hooks that I mention above&#8221; &#8230;.</p>
<p>I&#8217;m only seeing one hook. A post-update hook. </p>
<p>What am I missing? </p>
<p>Thanks again. It took 3 chapters on git pro book to answer those questions. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alias</title>
		<link>http://joemaller.com/990/a-web-focused-git-workflow/#comment-235136</link>
		<dc:creator>alias</dc:creator>
		<pubDate>Sat, 24 Mar 2012 13:12:00 +0000</pubDate>
		<guid isPermaLink="false">http://joemaller.com/?p=990#comment-235136</guid>
		<description>But if you use ispmanager i recomend to create hub in the domain folder, because one user on server can may many domains</description>
		<content:encoded><![CDATA[<p>But if you use ispmanager i recomend to create hub in the domain folder, because one user on server can may many domains</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alias</title>
		<link>http://joemaller.com/990/a-web-focused-git-workflow/#comment-235135</link>
		<dc:creator>alias</dc:creator>
		<pubDate>Sat, 24 Mar 2012 13:09:00 +0000</pubDate>
		<guid isPermaLink="false">http://joemaller.com/?p=990#comment-235135</guid>
		<description>Joe, thank you so much for this article!</description>
		<content:encoded><![CDATA[<p>Joe, thank you so much for this article!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Talofo</title>
		<link>http://joemaller.com/990/a-web-focused-git-workflow/#comment-235134</link>
		<dc:creator>Talofo</dc:creator>
		<pubDate>Thu, 22 Mar 2012 14:34:00 +0000</pubDate>
		<guid isPermaLink="false">http://joemaller.com/?p=990#comment-235134</guid>
		<description>Thank you so much Jeff, struggling to understand, because I&#039;m quite new into all this, so I have  3 quick (I hope) questions: 

1) Why / Where should we do git remote rename origin ? 

2) Why should we clone the Hub locally ? I thought that the bare hub repository would exist only on the shared host servers not locally.

3) On your hook mention above, is this line part of the hook (to be placed at the very end, or is it something else?)

exec git-update-server-infoThanks again, and sorry for all those questions. :(</description>
		<content:encoded><![CDATA[<p>Thank you so much Jeff, struggling to understand, because I&#8217;m quite new into all this, so I have  3 quick (I hope) questions: </p>
<p>1) Why / Where should we do git remote rename origin ? </p>
<p>2) Why should we clone the Hub locally ? I thought that the bare hub repository would exist only on the shared host servers not locally.</p>
<p>3) On your hook mention above, is this line part of the hook (to be placed at the very end, or is it something else?)</p>
<p>exec git-update-server-infoThanks again, and sorry for all those questions. :(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Byrnes</title>
		<link>http://joemaller.com/990/a-web-focused-git-workflow/#comment-235131</link>
		<dc:creator>Jeff Byrnes</dc:creator>
		<pubDate>Thu, 22 Mar 2012 14:09:00 +0000</pubDate>
		<guid isPermaLink="false">http://joemaller.com/?p=990#comment-235131</guid>
		<description>I would recommend you start with the production/master site, and recreate the staging one. To explain:

&lt;code&gt;git init --bare&lt;/code&gt; your Hub

&lt;code&gt;git init&lt;/code&gt; your production directory
&lt;code&gt;git commit&lt;/code&gt; your production dir
&lt;code&gt;git remote add hub ~/site_hub.git&lt;/code&gt; to connect production to your Hub&lt;code&gt;git push hub master&lt;/code&gt; to push your production code into your HubDelete everything in your staging dir&lt;code&gt;git clone ~/site_hub.git&lt;/code&gt; into your staging dir to recreate your production site in staging&lt;code&gt;git remote rename origin hub&lt;/code&gt; to keep things sane&lt;code&gt;git branch staging &amp;&amp; git checkout staging&lt;/code&gt; to create a new &quot;staging&quot; branch &amp; check it out&lt;code&gt;git push hub staging&lt;/code&gt; to push your staging branch back to HubNow set up the two hooks like I &lt;a href=&quot;#comment-259589452&quot; rel=&quot;nofollow&quot;&gt;mention above&lt;/a&gt;, and then clone the Hub locally, and push &amp; pull into the two branches. Et voilà! </description>
		<content:encoded><![CDATA[<p>I would recommend you start with the production/master site, and recreate the staging one. To explain:</p>
<p><code>git init --bare</code> your Hub</p>
<p><code>git init</code> your production directory<br />
<code>git commit</code> your production dir<br />
<code>git remote add hub ~/site_hub.git</code> to connect production to your Hub<code>git push hub master</code> to push your production code into your HubDelete everything in your staging dir<code>git clone ~/site_hub.git</code> into your staging dir to recreate your production site in staging<code>git remote rename origin hub</code> to keep things sane<code>git branch staging &amp;&amp; git checkout staging</code> to create a new &#8220;staging&#8221; branch &amp; check it out<code>git push hub staging</code> to push your staging branch back to HubNow set up the two hooks like I <a href="#comment-259589452" rel="nofollow">mention above</a>, and then clone the Hub locally, and push &amp; pull into the two branches. Et voilà!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Talofo</title>
		<link>http://joemaller.com/990/a-web-focused-git-workflow/#comment-235128</link>
		<dc:creator>Talofo</dc:creator>
		<pubDate>Thu, 22 Mar 2012 13:55:00 +0000</pubDate>
		<guid isPermaLink="false">http://joemaller.com/?p=990#comment-235128</guid>
		<description> Hello Jeff, one question I have myself. According two your suggestion, where should we first place our prime repository ?

The original author here says:

&quot;The first step is to initialize a new Git repository in the live web 
site directory on the server, then to add and commit all the site’s 
files.&quot;

We have, here, two live directories, one for staging and another for production so, where should we this first step be made ?

Thank you all in advance.</description>
		<content:encoded><![CDATA[<p> Hello Jeff, one question I have myself. According two your suggestion, where should we first place our prime repository ?</p>
<p>The original author here says:</p>
<p>&#8220;The first step is to initialize a new Git repository in the live web<br />
site directory on the server, then to add and commit all the site’s<br />
files.&#8221;</p>
<p>We have, here, two live directories, one for staging and another for production so, where should we this first step be made ?</p>
<p>Thank you all in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Talofo</title>
		<link>http://joemaller.com/990/a-web-focused-git-workflow/#comment-235129</link>
		<dc:creator>Talofo</dc:creator>
		<pubDate>Thu, 22 Mar 2012 13:55:00 +0000</pubDate>
		<guid isPermaLink="false">http://joemaller.com/?p=990#comment-235129</guid>
		<description> According to, and not according two; Sorry. </description>
		<content:encoded><![CDATA[<p> According to, and not according two; Sorry.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Philipp Ringli</title>
		<link>http://joemaller.com/990/a-web-focused-git-workflow/#comment-235019</link>
		<dc:creator>Philipp Ringli</dc:creator>
		<pubDate>Tue, 01 Nov 2011 15:11:00 +0000</pubDate>
		<guid isPermaLink="false">http://joemaller.com/?p=990#comment-235019</guid>
		<description>If you get these errors when pushing the empty repo ...
git push hub master
error: src refspec master does not match any.
error: failed to push some refs to &#039;/home/sitedir/site_hub.git&#039;

add a README file or something to your ~/www (prime).</description>
		<content:encoded><![CDATA[<p>If you get these errors when pushing the empty repo &#8230;<br />
git push hub master<br />
error: src refspec master does not match any.<br />
error: failed to push some refs to &#8216;/home/sitedir/site_hub.git&#8217;</p>
<p>add a README file or something to your ~/www (prime).</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Database Caching 1/6 queries in 0.003 seconds using disk: basic
Object Caching 238/249 objects using disk: basic

Served from: joemaller.com @ 2012-05-23 06:12:13 -->
