<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>transfixed but not dead! &#187; git</title>
	<atom:link href="http://transfixedbutnotdead.com/tag/git/feed/" rel="self" type="application/rss+xml" />
	<link>http://transfixedbutnotdead.com</link>
	<description>my ramblings on life, work &#38; anything left in-between</description>
	<lastBuildDate>Fri, 03 Feb 2012 16:03:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='transfixedbutnotdead.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/0a317653027efb1ab2bf8adde3dcb067?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>transfixed but not dead! &#187; git</title>
		<link>http://transfixedbutnotdead.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://transfixedbutnotdead.com/osd.xml" title="transfixed but not dead!" />
	<atom:link rel='hub' href='http://transfixedbutnotdead.com/?pushpress=hub'/>
		<item>
		<title>Receiving contributions to your Github project</title>
		<link>http://transfixedbutnotdead.com/2010/01/04/receiving-contributions-to-your-github-project/</link>
		<comments>http://transfixedbutnotdead.com/2010/01/04/receiving-contributions-to-your-github-project/#comments</comments>
		<pubDate>Mon, 04 Jan 2010 20:52:16 +0000</pubDate>
		<dc:creator>draegtun</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://transfixedbutnotdead.com/?p=799</guid>
		<description><![CDATA[Received my first ever contribution to one of my Github projects today. A pull request from a cpanservice? And I wasn&#8217;t the only one or was wondering who this cpanservice is or was? I suspect that this as something to do with the recent gitPAN upload to Github and therefore is probably some automated service [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=transfixedbutnotdead.com&amp;blog=351142&amp;post=799&amp;subd=draegtun&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Received my first ever contribution to one of my <a href="http://github.com/draegtun/builder">Github projects</a> today. A pull request from a <a href="http://github.com/cpanservice">cpanservice?</a> And I wasn&#8217;t the <a href="http://twitter.com/miyagawa/status/7317230829">only one</a> or was wondering who this <em>cpanservice</em> is or was?</p>
<p>I suspect that this as something to do with the recent <a href="http://github.com/gitpan/">gitPAN</a> upload to <a href="http://github.com">Github</a> and therefore is probably some automated service that is going through related projects making sure that Github CPAN projects do have the <a href="http://github.com/draegtun/builder/commit/df5a0cbdebcde2ec26bd41b2fa190d3dd66d929e">meta repository tag populated</a> in the build process.  </p>
<p><em>NB. I blogged about this repository link back in <a href="http://transfixedbutnotdead.com/2009/05/01/repository-link-now-appearing-on-cpan/">May</a> but forgot to put my changes live.</em> *blush*</p>
<p>This contribution was the necessary nudge I needed to find out how to use git to merge in external changes.  Github itself did seem to provide a web option to apply this change directly under &#8220;Fork Queue&#8221;.  However I wanted to do it all via git so first place I looked is the Github documention on <a href="http://github.com/guides/pull-requests">pull requests</a>.</p>
<p>My local directory was up-to-date so I just needed to do the following to pull &amp; merge into my code:</p>
<ul>
<li><code>git pull git://github.com/cpanservice/builder.git master</code></li>
</ul>
<p>All merged and committed (see PS).  Quick check of diffs &amp; logs and then just needed to populate it back to Github:</p>
<ul>
<li><code>git push origin master</code></li>
</ul>
<p>You will see <em>cpanservice</em> changes immediately in the commits.   However the Github graphs and fork queue take a little while to be updated to show the merge.</p>
<p>/I3az/</p>
<p>&nbsp;</p>
<p>PS. The merged <em>cpanservice</em> changes showed up under me in the network graph (see red line below) despite showing up correctly under commits.  </p>
<p><a href="http://www.flickr.com/photos/draegtun/4245104639/" title="github-builder-graph by draegtun, on Flickr"><img src="http://farm5.static.flickr.com/4061/4245104639_f111617a60.jpg" width="500" height="128" alt="github-builder-graph" /></a></p>
<p>I think this is because I merge changes locally and then pushed back to Github?  Its not an issue for these <em>cpanservice</em> changes but I would like to get it right for &#8220;proper&#8221; contributors.   </p>
<p>So I think the alternate merge example documented by Github might be the better approach?</p>
<p><code>git remote add defunkt git://github.com/defunkt/grit.git<br />
 git fetch defunkt<br />
 git merge defunkt/master</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/draegtun.wordpress.com/799/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/draegtun.wordpress.com/799/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/draegtun.wordpress.com/799/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/draegtun.wordpress.com/799/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/draegtun.wordpress.com/799/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/draegtun.wordpress.com/799/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/draegtun.wordpress.com/799/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/draegtun.wordpress.com/799/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/draegtun.wordpress.com/799/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/draegtun.wordpress.com/799/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/draegtun.wordpress.com/799/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/draegtun.wordpress.com/799/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/draegtun.wordpress.com/799/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/draegtun.wordpress.com/799/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=transfixedbutnotdead.com&amp;blog=351142&amp;post=799&amp;subd=draegtun&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://transfixedbutnotdead.com/2010/01/04/receiving-contributions-to-your-github-project/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/29cb106071d163d703484e63839d89cb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">draegtun</media:title>
		</media:content>

		<media:content url="http://farm5.static.flickr.com/4061/4245104639_f111617a60.jpg" medium="image">
			<media:title type="html">github-builder-graph</media:title>
		</media:content>
	</item>
		<item>
		<title>Contributing to a project on Github</title>
		<link>http://transfixedbutnotdead.com/2009/12/24/contributing-to-a-project-on-github/</link>
		<comments>http://transfixedbutnotdead.com/2009/12/24/contributing-to-a-project-on-github/#comments</comments>
		<pubDate>Thu, 24 Dec 2009 21:20:43 +0000</pubDate>
		<dc:creator>draegtun</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Devel::Declare]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://transfixedbutnotdead.com/?p=771</guid>
		<description><![CDATA[After getting my head into Devel::Declare::Context::Simple to create the bare URL for my last blog post I realised that I&#8217;ve percolated enough knowledge about the module that it would be a good idea to redirect it back to the project by at least doing the POD. This will be the first time I&#8217;ve &#8220;properly&#8221; contributed [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=transfixedbutnotdead.com&amp;blog=351142&amp;post=771&amp;subd=draegtun&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>After getting my head into Devel::Declare::Context::Simple to create the bare URL for my <a href="http://transfixedbutnotdead.com/2009/12/16/url-develdeclare-and-no-strings-attached/">last blog post</a><br />
I realised that I&#8217;ve percolated enough knowledge about the module that it would be a good idea to redirect it back to the project by at least doing the POD.</p>
<p>This will be the first time I&#8217;ve &#8220;properly&#8221; contributed in some form to an opensource project (&#8220;properly&#8221; being via source control management &amp; a patch).</p>
<p><a href="http://search.cpan.org/dist/Devel-Declare/">Devel::Declare</a> is hosted on <a href="http://github.com/rafl/devel-declare">Github here</a>.   And the process to contribute back changes to a Github project is &#8220;forking&#8221; simple!</p>
<p>With <a href="http://git-scm.com/">Git</a> &amp; <a href="http://github.com">Github</a> its all about forking.  Here is a concise Github <a href="http://help.github.com/forking/">howto</a> (which I&#8217;ll regurgitate below with my own slant &amp; spiel!).</p>
<p>I only use Git for my Github projects, so forking etc is all new to me.  To break it down into a few simple steps the process to contribute would be:</p>
<ul>
<li>Fork project
<li>Clone your fork
<li>Make your changes
<li>Push changes back to you fork
<li>Send pull request back to original project
</ul>
<p>&nbsp;</p>
<p>Here are the minutiae steps I went through for Devel::Declare:</p>
<ul>
<li>Went to <a href="http://github.com/rafl/devel-declare">Devel::Declare project</a> on Github and forked it.
<li>Forked project now appears in my project list.
<li>Cloned my forked Devel::Declare (use &#8220;Your Clone URL&#8221; copy/paste)<br />
<code>git clone git@github.com:draegtun/devel-declare.git<br />
cd devel-declare/<br />
</code></p>
<li>Linked my forked project to original<br />
<code>git remote add upstream git://github.com/rafl/devel-declare.git<br />
git fetch upstream<br />
</code></p>
<li>Make my changes to project
<li>Run tests (in case I did something stupid!)<br />
<code>perl Makefile.PL<br />
make<br />
make test<br />
</code></p>
<li>Clear down build once happy<br />
<code>make realclean</code></p>
<li>Push my changes back to my fork<br />
<code>git commit -a -m "Documentation added to D::D::Context::Simple + examples directory"<br />
git push origin master<br />
</code>
</ul>
<p>Now on Github the changes can be seen in <a href="http://github.com/draegtun/devel-declare">my fork</a></p>
<p>All I do now is click the &#8220;pull request&#8221; button and off went a request of my changes to <a href="http://github.com/rafl">rafl</a>.  Fingers cross my documentation changes were good enough to be accepted.</p>
<p>So I&#8217;m no longer a virgin to contributing to this opensource malarky <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>/I3az/</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/draegtun.wordpress.com/771/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/draegtun.wordpress.com/771/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/draegtun.wordpress.com/771/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/draegtun.wordpress.com/771/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/draegtun.wordpress.com/771/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/draegtun.wordpress.com/771/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/draegtun.wordpress.com/771/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/draegtun.wordpress.com/771/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/draegtun.wordpress.com/771/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/draegtun.wordpress.com/771/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/draegtun.wordpress.com/771/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/draegtun.wordpress.com/771/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/draegtun.wordpress.com/771/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/draegtun.wordpress.com/771/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=transfixedbutnotdead.com&amp;blog=351142&amp;post=771&amp;subd=draegtun&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://transfixedbutnotdead.com/2009/12/24/contributing-to-a-project-on-github/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/29cb106071d163d703484e63839d89cb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">draegtun</media:title>
		</media:content>
	</item>
		<item>
		<title>GitHub went down</title>
		<link>http://transfixedbutnotdead.com/2008/11/28/github-went-down/</link>
		<comments>http://transfixedbutnotdead.com/2008/11/28/github-went-down/#comments</comments>
		<pubDate>Fri, 28 Nov 2008 13:23:52 +0000</pubDate>
		<dc:creator>draegtun</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://draegtun.wordpress.com/?p=60</guid>
		<description><![CDATA[Typical hey&#8230; within a few hours of me pushing my first piece of code to GitHub it goes and dies!   Reminds me of when I first tried Twitter (though I suspect everyone got that problem!). Anyway good news&#8230; nothing was lost (phew!) and GitHub is now available again (yippee!). /I3az/<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=transfixedbutnotdead.com&amp;blog=351142&amp;post=60&amp;subd=draegtun&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Typical hey&#8230; within a few hours of me pushing my first piece of code to GitHub it goes and dies!   Reminds me of when I first tried Twitter (though I suspect everyone got that problem!).</p>
<p>Anyway good news&#8230; nothing was lost (phew!) and GitHub is now available again (yippee!).</p>
<p>/I3az/</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/draegtun.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/draegtun.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/draegtun.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/draegtun.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/draegtun.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/draegtun.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/draegtun.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/draegtun.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/draegtun.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/draegtun.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/draegtun.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/draegtun.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/draegtun.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/draegtun.wordpress.com/60/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=transfixedbutnotdead.com&amp;blog=351142&amp;post=60&amp;subd=draegtun&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://transfixedbutnotdead.com/2008/11/28/github-went-down/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/29cb106071d163d703484e63839d89cb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">draegtun</media:title>
		</media:content>
	</item>
	</channel>
</rss>
