<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Djief's Blog</title>
	
	<link>http://jfcouture.com</link>
	<description />
	<pubDate>Sat, 04 Oct 2008 23:49:23 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/jfcouture" /><feedburner:info uri="jfcouture" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>New Garden Gnome At Code Genome</title>
		<link>http://feedproxy.google.com/~r/jfcouture/~3/jtISfcRdk7k/</link>
		<comments>http://jfcouture.com/2008/10/04/new-garden-gnome-at-code-genome/#comments</comments>
		<pubDate>Sat, 04 Oct 2008 21:57:32 +0000</pubDate>
		<dc:creator>jfcouture</dc:creator>
		
		<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://jfcouture.com/2008/10/04/new-garden-gnome-at-code-genome/</guid>
		<description><![CDATA[What do you call someone who works at Code Genome?

That&#8217;s right, a garden gnome. (Apparently, some British dude had trouble saying the name of our company.)
It is with great pleasure that I announce that a new gnome has joined the team: Pierre Olivier Martel. PO is our first rails garden gnome guru-to-be. Welcome aboard PO!
]]></description>
			<content:encoded><![CDATA[<p>What do you call someone who works at Code Genome?</p>
<p><img src='http://jfcouture.com/images/garden_gnome.jpg' alt='Garden Gnomes' /></p>
<p>That&#8217;s right, a garden gnome. (Apparently, some British dude had trouble saying the name of our company.)</p>
<p>It is with great pleasure that I announce that a new gnome has joined the team: <a href="http://www.modelix.net/">Pierre Olivier Martel</a>. PO is our first rails garden gnome guru-to-be. Welcome aboard PO!</p>
]]></content:encoded>
			<wfw:commentRss>http://jfcouture.com/2008/10/04/new-garden-gnome-at-code-genome/feed/</wfw:commentRss>
		<feedburner:origLink>http://jfcouture.com/2008/10/04/new-garden-gnome-at-code-genome/</feedburner:origLink></item>
		<item>
		<title>Code Genome Plan For World Conquest: We’re Looking For Ruby On Rails Developers</title>
		<link>http://feedproxy.google.com/~r/jfcouture/~3/WwVlj0tb8sU/</link>
		<comments>http://jfcouture.com/2008/09/17/code-genome-plan-for-world-conquest-were-looking-for-ruby-on-rails-developers/#comments</comments>
		<pubDate>Wed, 17 Sep 2008 04:21:32 +0000</pubDate>
		<dc:creator>jfcouture</dc:creator>
		
		<category><![CDATA[Rails]]></category>

		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://jfcouture.com/2008/09/17/code-genome-plan-for-world-conquest-were-looking-for-ruby-on-rails-developers/</guid>
		<description><![CDATA[(company name) Code Genome, based in (city name) Montreal, the world leading (whatever it is you do) Ruby On Rails consulting firm, is looking to hire (position name) a Ruby On Rails developer for its (adjective) star team.
(Mad Libs are are the ultimate tool to create a job posting.)
Ruby on Rails Guru
We are looking for [...]]]></description>
			<content:encoded><![CDATA[<p>(company name) <a href="http://www.codegenome.com/" title="CODE GÉNOME - SOLUTIONS INTELLIGENTES, POSSIBILITÉS INFINIES">Code Genome</a>, based in (city name) Montreal, the world leading (whatever it is you do) Ruby On Rails consulting firm, is looking to hire (position name) a Ruby On Rails developer for its (adjective) star team.</p>
<p>(Mad Libs are are the ultimate tool to create a job posting.)</p>
<h3>Ruby on Rails Guru</h3>
<p>We are looking for a Ruby on Rails guru. You have a couple of projects under your belt (a black one). Everything you ever wrote ended up in a plugin. You&#8217;re just that good. You should be the one writing this job description and telling us what a real Rails guru is all about.</p>
<h3>Ruby on Rails Refugee</h3>
<p>We are looking for a Ruby on Rails refugee. You have a couple of years of experience in web development in Java or .Net. One night, you built a small project in Rails, wanting to know what the hype was all about. It was love at first sight. Now, you loathe your day-time job and all the unnecessary complexity involved. It&#8217;s time for a change.</p>
<h3>Ruby on Rails Guru-to-be</h3>
<p>We are looking for a Ruby on Rails guru-to-be. You have built at least one small project in your spare time using Rails and fell in love. You are now aspiring to have an international career as the next rock star of ruby development. But you need someone to give you a chance.</p>
<p>For more information, visit <a href="http://jobs.codegenome.com/">http://jobs.codegenome.com</a></p>
<p>One more thing. The best part of this job is that you get to work with me, the only ruby witch doctor in Montreal. Oh, and if you feel guru is overused, you get to call yourself whatever you want: ninja, kung fu master, sith lord, drunken monkey cowboy of hell, papa smurf, or the ultimate, zombie ninja pirate. Nothing beats a zombie ninja pirate.</p>
]]></content:encoded>
			<wfw:commentRss>http://jfcouture.com/2008/09/17/code-genome-plan-for-world-conquest-were-looking-for-ruby-on-rails-developers/feed/</wfw:commentRss>
		<feedburner:origLink>http://jfcouture.com/2008/09/17/code-genome-plan-for-world-conquest-were-looking-for-ruby-on-rails-developers/</feedburner:origLink></item>
		<item>
		<title>Github Launches With Cool Visualization Tool</title>
		<link>http://feedproxy.google.com/~r/jfcouture/~3/neeDlR3E6kM/</link>
		<comments>http://jfcouture.com/2008/04/10/github-launches-with-cool-visualization-tool/#comments</comments>
		<pubDate>Fri, 11 Apr 2008 01:49:51 +0000</pubDate>
		<dc:creator>jfcouture</dc:creator>
		
		<category><![CDATA[git]]></category>

		<guid isPermaLink="false">http://jfcouture.com/2008/04/10/github-launches-with-cool-visualization-tool/</guid>
		<description><![CDATA[I didn&#8217;t think I would blog about the launch of github, because I thought it was pretty meh. Sure it&#8217;s nice to put your projects on it and be able to fork other projects, but it was still pretty useless as there was no way of visualizing all the branches (git is all about the [...]]]></description>
			<content:encoded><![CDATA[<p>I didn&#8217;t think I would blog about the launch of <a href="http://github.com/" title="Secure Git hosting and collaborative development &mdash; GitHub">github</a>, because I thought it was pretty meh. Sure it&#8217;s nice to put your projects on it and be able to fork other projects, but it was still pretty useless as there was no way of visualizing all the branches (<a href="http://jfcouture.com/2008/04/02/rails-moving-to-git-how-to-really-understand-and-master-git/" title="Rails Moving To Git: How To Really Understand And Master Git &#8212; Djief&#8217;s Blog">git is all about the commit graph</a>).</p>
<p>Well they just launched the <a href="http://github.com/blog/39-say-hello-to-the-network-graph-visualizer" title="Say hello to the Network Graph Visualizer &mdash; GitHub">Network Graph Visualizer</a> and it rocks! Now you can quickly see the branches/forks and know if they are active or not. Also they added <a href="http://github.com/blog/42-commit-comments" title="Commit Comments &mdash; GitHub">commit comments</a>.</p>
<p>So they fixed their most important flaw and they add features that should make collaboration easier. This makes me really hopeful for github&#8217;s future. Github is the place to be for open source projects!</p>
]]></content:encoded>
			<wfw:commentRss>http://jfcouture.com/2008/04/10/github-launches-with-cool-visualization-tool/feed/</wfw:commentRss>
		<feedburner:origLink>http://jfcouture.com/2008/04/10/github-launches-with-cool-visualization-tool/</feedburner:origLink></item>
		<item>
		<title>It’s Time To Revisit Your Assumptions About VCS</title>
		<link>http://feedproxy.google.com/~r/jfcouture/~3/ABomo2DR1IA/</link>
		<comments>http://jfcouture.com/2008/04/07/its-time-to-revisit-your-assumptions-about-vcs/#comments</comments>
		<pubDate>Tue, 08 Apr 2008 02:14:48 +0000</pubDate>
		<dc:creator>jfcouture</dc:creator>
		
		<category><![CDATA[git]]></category>

		<guid isPermaLink="false">http://jfcouture.com/2008/04/07/its-time-to-revisit-your-assumptions-about-vcs/</guid>
		<description><![CDATA[You might have heard about distributed version control systems recently, for example git. There are a lot of articles popping up left and right about DVCS. What I find interesting about this is that version control has again become something to talk about. This is very healthy as version control is such an important tool [...]]]></description>
			<content:encoded><![CDATA[<p>You might have heard about distributed version control systems recently, for example <a href="http://git.or.cz/" title="Git - Fast Version Control System">git</a>. There are a lot of articles popping up left and right about DVCS. What I find interesting about this is that version control has again become something to talk about. This is very healthy as version control is such an important tool for software developers.</p>
<p>When I started using using subversion five years ago, version control faded to the background. Subversion greatest strength is its simplicity. After a while, you get used to its quirks and it just works. Sure, some operations are painful, like merging back a branch, but you learn how to do it (and try to minimize to number of times you have to do it).</p>
<p>But five years is a pretty long time in computing terms. Maybe something better has come along. Maybe the reasons you chose something five years ago don&#8217;t hold anymore. This applies to everything. Sometimes you come across a company policy that looks stupid. At the time the decision was taken, it might actually have made sense. But things changed (as they tend to) and nobody took the time to check if the assumptions used to make the decision were still true today.</p>
<p>I suggest you use all the hype around git, and the discussions it generates, to revisit, to question all your assumptions about what is version control and what it can do for you. Is version control about sharing code with other developers and having some kind of history and backup? That&#8217;s something that, yes, it provides, but it can do so much more.</p>
<p>Have you ever used a VCS that required you to lock a file before editing, to avoid conflicts if two developers edited the file at the same time? If you&#8217;ve used any system that doesn&#8217;t require it, you just know that it&#8217;s a not a real problem. However, how do you explain it to the developer that is convinced that it is a very real problem? That&#8217;s the problem I have with git right now after using it for six months. I don&#8217;t how to convince people to try it when they raise objections. I can only say that it&#8217;s awesome and that going back to subversion from git would be more painful for me than going back to locking file from subversion.</p>
]]></content:encoded>
			<wfw:commentRss>http://jfcouture.com/2008/04/07/its-time-to-revisit-your-assumptions-about-vcs/feed/</wfw:commentRss>
		<feedburner:origLink>http://jfcouture.com/2008/04/07/its-time-to-revisit-your-assumptions-about-vcs/</feedburner:origLink></item>
		<item>
		<title>Rails Moving To Git: How To Really Understand And Master Git</title>
		<link>http://feedproxy.google.com/~r/jfcouture/~3/z2hGZqMPbPQ/</link>
		<comments>http://jfcouture.com/2008/04/02/rails-moving-to-git-how-to-really-understand-and-master-git/#comments</comments>
		<pubDate>Thu, 03 Apr 2008 02:15:25 +0000</pubDate>
		<dc:creator>jfcouture</dc:creator>
		
		<category><![CDATA[Rails]]></category>

		<category><![CDATA[git]]></category>

		<guid isPermaLink="false">http://jfcouture.com/2008/04/02/rails-moving-to-git-how-to-really-understand-and-master-git/</guid>
		<description><![CDATA[It appears that Rails will switch to git real soon. Nice! However, it means confusion for developers used to svn. You might find a few tips on this blog to help you get started, but right now I want to give you the secret to git mastery:
You need to think in terms of how you [...]]]></description>
			<content:encoded><![CDATA[<p>It appears that <a href="http://weblog.rubyonrails.com/2008/4/2/rails-is-moving-from-svn-to-git" title="Riding Rails: Rails is moving from SVN to Git">Rails will switch to git</a> real soon. Nice! However, it means confusion for developers used to svn. You might find a few tips on this blog to help you get started, but right now I want to give you the secret to git mastery:</p>
<p>You need to think in terms of how you want to modify your graph. My what you say?!? A git repository is a <a href="http://en.wikipedia.org/wiki/Directed_acyclic_graph" title="Directed acyclic graph - Wikipedia, the free encyclopedia">directed acyclic graph</a> of commits (the nodes). Huh?? Read this article: <a href="http://eagain.net/articles/git-for-computer-scientists/" title="Tv's cobweb: Git for Computer Scientists">Git for Computer Scientists</a>. Do not continue reading before you understand that article. Everything falls into place when you understand that all git commands manipulate these four basic structures: blobs, trees, commits and tags.</p>
<p>From now on, before typing a git command in the shell, try to picture in your head how you want your repository to look after the command. Your best friend is gitk for visualization (use the &#8211;all option to see all branches). Run it before and after each command you do with git. Here is what you should be thinking when using these commands:</p>
<ul>
<li>git commit: I am creating a new node in my graph, linked to the current node. </li>
<li>git branch branch_name: I am tagging a node with a name.</li>
<li>git merge: I am creating a new node that will link two parents nodes, one for each branch I am merging (could be more than two).</li>
<li>git fetch remote_repos: I am adding all the nodes from a distant repository to my graph.</li>
<li>git push: I am sending all the nodes I created to a distant repository.</li>
<li>git pull: I want to fetch all remote nodes AND merge.</li>
</ul>
<p>Once you think like this, &#8220;advanced&#8221; git stuff becomes trivial. For example, this morning one coworker realized that his last three commits actually belonged to a branch. Try to visualize the solution. When you think about it, nothing has to change about the actual graph, just which nodes the tag (the branch name) needs to point at. So you just create a branch where you are, on the last commit, and then you can use the reset command to move back the other branch to the correct commit.</p>
<p>That&#8217;s the core of git. There are maybe two other things to worry about when using git. The first is the <a href="http://www.kernel.org/pub/software/scm/git/docs/tutorial-2.html" title="A tutorial introduction to git: part two">index</a>, which is sort of a staging area where you prepare your commits. The other thing is the way git configuration works and the way it names and references branches (and the special reference HEAD) and remote repositories. Check out the <a href="http://www.kernel.org/pub/software/scm/git/docs/user-manual.html#understanding-commits" title="Git User's Manual (for version 1.5.3 or newer)">git user manual</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://jfcouture.com/2008/04/02/rails-moving-to-git-how-to-really-understand-and-master-git/feed/</wfw:commentRss>
		<feedburner:origLink>http://jfcouture.com/2008/04/02/rails-moving-to-git-how-to-really-understand-and-master-git/</feedburner:origLink></item>
		<item>
		<title>Still Not On Git? Random Links Of The Week</title>
		<link>http://feedproxy.google.com/~r/jfcouture/~3/o5ATaVxLWiI/</link>
		<comments>http://jfcouture.com/2008/02/03/still-not-on-git-random-links-of-the-week/#comments</comments>
		<pubDate>Sun, 03 Feb 2008 20:03:45 +0000</pubDate>
		<dc:creator>jfcouture</dc:creator>
		
		<category><![CDATA[Ruby]]></category>

		<category><![CDATA[git]]></category>

		<guid isPermaLink="false">http://jfcouture.com/2008/02/03/still-not-on-git-random-links-of-the-week/</guid>
		<description><![CDATA[I&#8217;m beginning to wonder if I wasn&#8217;t a bit pessimistic when I said 80% of rails developper to switch to git before christmas &#8216;08.  My own unscientific measurement for January show more than 50% of new projects are using git. If you still haven&#8217;t installed git and are looking for a reason, here&#8217;s one: [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m beginning to wonder if I wasn&#8217;t a bit pessimistic when I said <a href="http://jfcouture.com/2007/12/09/80-of-rails-developers-to-switch-to-git-before-christmas-08-how-to-get-ahead-and-start-now/" title="80% of Rails Developers To Switch To Git Before Christmas &#8216;08: How To Get Ahead And Start Now &#8212; Djief&#8217;s Blog">80% of rails developper to switch to git before christmas &#8216;08</a>.  My own unscientific measurement for January show more than 50% of new projects are using git. If you still haven&#8217;t installed git and are looking for a reason, here&#8217;s one: <a href="http://drnicwilliams.com/" title="Dr Nic">Dr Nic</a> is the new maintainer of the <a href="http://drnicwilliams.com/2008/01/31/get-ready-for-the-textmate-trundle-to-rails-20-bundle/" title="Dr Nic    &raquo; Get ready for the TextMate &#8220;Trundle to Rails 2.0 Bundle&#8221;">Rails Textmate Bundle</a> and you&#8217;ll need git to get it. It includes new helpers specific to Rails 2.0. Speaking of Textmate, it looks like someone picked up the development of <a href="http://gitorious.org/projects/git-tmbundle/repos/mainline/browse" title="Browsing mainline in Git.tmbundle - Gitorious">the git bundle</a>. January also saw the release of <a href="http://macournoyer.wordpress.com/category/thin/" title="thin &laquo; Marc-André Cournoyer&#8217;s blog">thin</a> and the next version of <a href="http://github.com/wycats/merb-core/tree/master" title="wycats's merb-core at master &mdash; GitHub">merb</a> is now also on git. Seriously, I don&#8217;t think I need to keep pushing people to git anymore. The momentum is too strong and you will have to use git in the very near future. If you still need more convincing, here are a couple of very interesting links:</p>
<ul>
<li>James Golick explains <a href="http://jamesgolick.com/2008/1/21/why-distributed-version-control-matters-to-you-today" title="James on Software: Why Distributed Version Control Matters to You, Today">why distributed version control matters to you</a>. James writes very well and it should make you understand why you should release your next rails plugin with git.</li>
<li>This guy is <a href="http://www.danielfischer.com/2008/02/01/all-that-git-talk-in-the-rails-world-what-gives/" title="Daniel Fischer - Got Fisch?     &raquo; All That Git Talk in The Rails World, What Gives?">confused about why distributed version</a> rocks so much. He first needs to read James&#8217; article. Then you guys with the same feelings toward git need to read the comments.</li>
<li>Dr Nic <a href="http://drnicwilliams.com/2008/02/03/using-git-within-a-team/" title="Dr Nic    &raquo; Using Git within a project (forking around)">tries to explain git</a>, if you want to understand how to contibute to an open source project.</li>
</ul>
<p>Hopefully all the links provided should help you understand git from different perspectives. One last goodie for the week: Carl Mercier released a <a href="http://blog.carlmercier.com/2008/01/25/no-nonsense-git-part-1-git-remote-branch/" title="Carl Mercier&#8217;s blog  &raquo; Blog Archive   &raquo; No nonsense GIT, part 1: git-remote-branch">small script to help work with remote branches</a>. If you want to script common git tasks in ruby, take a look at <a href="http://www.jointheconversation.org/rubygit/" title="Ruby/Git">Ruby/Git</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://jfcouture.com/2008/02/03/still-not-on-git-random-links-of-the-week/feed/</wfw:commentRss>
		<feedburner:origLink>http://jfcouture.com/2008/02/03/still-not-on-git-random-links-of-the-week/</feedburner:origLink></item>
		<item>
		<title>How To Set Up A Git Server</title>
		<link>http://feedproxy.google.com/~r/jfcouture/~3/fyog0-1DsB8/</link>
		<comments>http://jfcouture.com/2008/01/20/how-to-set-up-a-git-server/#comments</comments>
		<pubDate>Sun, 20 Jan 2008 21:44:45 +0000</pubDate>
		<dc:creator>jfcouture</dc:creator>
		
		<category><![CDATA[git]]></category>

		<guid isPermaLink="false">http://jfcouture.com/2008/01/20/how-to-set-up-a-git-server/</guid>
		<description><![CDATA[Git does not require a special &#8220;server&#8221; to run. For example, if you are on a local network, you can just put the repository on a shared network drive. Git does not handle the security. You configure the read/write access on the folder. I&#8217;m not an expert in system administration so I&#8217;m going to suggest [...]]]></description>
			<content:encoded><![CDATA[<p>Git does not require a special &#8220;server&#8221; to run. For example, if you are on a local network, you can just put the repository on a shared network drive. Git does not handle the security. You configure the read/write access on the folder. I&#8217;m not an expert in system administration so I&#8217;m going to suggest some options and provide links that I found helpful:</p>
<ul>
<li><a href="http://www.openssh.com/" title="OpenSSH">Ssh</a> is you friend for security. If you do not want to provide shell access to everyone, you can setup <a href="http://eagain.net/blog/2007/03/22/howto-host-git.html" title="Tv's cobweb: Howto host git on your Linux box">one git user and use ssh keys</a> to provide access. If you go that route, take a look at <a href="http://scie.nti.st/2007/11/14/hosting-git-repositories-the-easy-and-secure-way" title="scie.nti.st &#187;  Hosting Git repositories, The Easy (and Secure) Way">gitosis</a>, which is a bunch of python scripts that automates part of administering that kind of setup. Gitosis gives you a git repository to configure access and projects. It&#8217;s very nice.</li>
<li>Another option is <a href="http://www.kernel.org/pub/software/scm/git/docs/howto/setup-git-server-over-http.txt">through http</a>. You need webdav for that.</li>
<li><a href="http://www.kernel.org/pub/software/scm/git/docs/git-daemon.html" title="git-daemon(1)">Git daemon</a> comes with git and is perfect if you only need to quickly give public read access.</li>
<li>There are couple of git hosting site that are popping up. Check out <a href="http://repo.or.cz/" title="Public Git Hosting">repo.or.cz</a> and <a href="http://github.com/" title="GitHub &mdash; Git 'R' Done">Github</a> (invitation only for now but has a sexy look).</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://jfcouture.com/2008/01/20/how-to-set-up-a-git-server/feed/</wfw:commentRss>
		<feedburner:origLink>http://jfcouture.com/2008/01/20/how-to-set-up-a-git-server/</feedburner:origLink></item>
		<item>
		<title>Montreal On Rails, January Edition</title>
		<link>http://feedproxy.google.com/~r/jfcouture/~3/RVJ9U8hduUc/</link>
		<comments>http://jfcouture.com/2008/01/16/montreal-on-rails-january-edition/#comments</comments>
		<pubDate>Thu, 17 Jan 2008 02:48:59 +0000</pubDate>
		<dc:creator>jfcouture</dc:creator>
		
		<category><![CDATA[git]]></category>

		<category><![CDATA[montreal]]></category>

		<category><![CDATA[social]]></category>

		<guid isPermaLink="false">http://jfcouture.com/2008/01/16/montreal-on-rails-january-edition/</guid>
		<description><![CDATA[Last night I presented git at Montreal On Rails and I think it went pretty well. I might have forgotten a few things I wanted to say, but I got quite enough question about other aspects of git to fill an hour, aspects that I didn&#8217;t expect to be able to squeeze in. Although git [...]]]></description>
			<content:encoded><![CDATA[<p>Last night I presented <a href="http://git.or.cz/" title="Git - Fast Version Control System">git</a> at <a href="http://www.montrealonrails.com/2008/01/15/followup-on-tonights-event/" title="Montreal on Rails  &raquo; Blog Archive   &raquo; Followup on tonight&#8217;s event">Montreal On Rails</a> and I think it went pretty well. I might have forgotten a few things I wanted to say, but I got quite enough question about other aspects of git to fill an hour, aspects that I didn&#8217;t expect to be able to squeeze in. Although git is a very different beast than subversion, I feel like most people understood what it is all about. We have some very smart people here in Montreal, and it sure does not look like a ghetto. <img src='http://jfcouture.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Now let me remind you of your homework for the week (it leads toward the path to git enlightenment):</p>
<ul>
<li>Listen to Linus Torvalds <a href="http://youtube.com/watch?v=4XpnKHJAok8" title="YouTube - Tech Talk: Linus Torvalds on git">git talk at google</a>. It really helps understanding the design of git.</li>
<li><a href="http://jfcouture.com/2007/12/16/installing-git-on-mac-os-x/" title="Installing Git on Mac OS X &#8212; Djief&#8217;s Blog">Install git.</a></li>
<li>If you are currently using svn, see <a href="http://jfcouture.com/2007/12/12/the-guerilla-guide-to-git-how-to-start-using-git-even-if-your-team-is-on-svn/" title="The Guerilla Guide To Git: How To Start Using Git, Even If Your Team Is On Svn &#8212; Djief&#8217;s Blog">my guide</a> on how to start using git while keeping a central svn repository.</li>
<li>Explore <a href="http://www.codinghorror.com/blog/archives/000968.html" title="Coding Horror: Software Branching and Parallel Universes">parallel universes with branches</a>. Develop a new feature in a branch. Try out a plugin in a branch. Have a branch with rails edge. Do some crazy experimental refactoring in a branch, including renaming files (yes! git will correctly merge).</li>
<li>Play with git. Set up local &#8220;remote&#8221; repository to experience what distributed version control is all about. Try out strange branching scenario just to see how git will handle it.</li>
<li>Read the <a href="http://www.kernel.org/pub/software/scm/git/docs/" title="git(7)">documentation</a>. See if you can find how to: commit only part of file, send your last 3 commit to another branch, change your last commit (there are 2 ways actually).</li>
</ul>
<p>I got carried away there. Git rocks.</p>
]]></content:encoded>
			<wfw:commentRss>http://jfcouture.com/2008/01/16/montreal-on-rails-january-edition/feed/</wfw:commentRss>
		<feedburner:origLink>http://jfcouture.com/2008/01/16/montreal-on-rails-january-edition/</feedburner:origLink></item>
		<item>
		<title>Various Tips For Setting Up Git: Improve Gitk Look And Get Bash Completion</title>
		<link>http://feedproxy.google.com/~r/jfcouture/~3/O_YKeO1lh9k/</link>
		<comments>http://jfcouture.com/2007/12/18/various-tips-for-setting-up-git-improve-gitk-look-and-get-bash-completion/#comments</comments>
		<pubDate>Wed, 19 Dec 2007 01:40:04 +0000</pubDate>
		<dc:creator>jfcouture</dc:creator>
		
		<category><![CDATA[git]]></category>

		<guid isPermaLink="false">http://jfcouture.com/2007/12/18/various-tips-for-setting-up-git-improve-gitk-look-and-get-bash-completion/</guid>
		<description><![CDATA[You just installed git. Now it&#8217;s time to set it up. First, you want to set up your name and email, which will be added to your commits:

$ git config --global user.name "Your Name"
$ git config --global user.email name@email.com

Another useful option is alias. We can also use the command line to set it or we [...]]]></description>
			<content:encoded><![CDATA[<p>You just installed <a href="http://git.or.cz/" title="Git - Fast Version Control System">git</a>. Now it&#8217;s time to set it up. First, you want to set up your name and email, which will be added to your commits:</p>
<pre>
$ git config --global user.name "Your Name"
$ git config --global user.email name@email.com
</pre>
<p>Another useful option is alias. We can also use the command line to set it or we can edit  ~/.gitconfig:</p>
<pre>
[alias]
	st = status
</pre>
<p>This means we can just type git st instead of git status. As you get more familiar with git, you&#8217;ll want to add your own aliases.</p>
<p>Check the <a href="http://www.kernel.org/pub/software/scm/git/docs/git-config.html" title="git-config(1)">manual</a> for the complete list of options.</p>
<h3>Change gitk fonts</h3>
<p>Gitk looks bad. Really bad. We can improve it by changing the default font. You need to edit ~/.gitk:</p>
<pre>
set mainfont {Monaco 10}
set textfont {Monaco 10}
set uifont {Monaco 10}
</pre>
<p>Much better.</p>
<h3>Bash completion</h3>
<p>Lookup contrib/completion in the git source directory. Git-completion.bash includes the instruction to set it up. You need to copy that file somewhere and source it in your ~/.profile. Once this is done, you can press tab to complete git commands, options and the name of branches in bash. The script also adds __git_ps1 which you can use in your PS1 to include the name of the current branch in your bash prompt. Because you will use branches with git, it can help you remember that you switched branch just before leaving work the day before.</p>
]]></content:encoded>
			<wfw:commentRss>http://jfcouture.com/2007/12/18/various-tips-for-setting-up-git-improve-gitk-look-and-get-bash-completion/feed/</wfw:commentRss>
		<feedburner:origLink>http://jfcouture.com/2007/12/18/various-tips-for-setting-up-git-improve-gitk-look-and-get-bash-completion/</feedburner:origLink></item>
		<item>
		<title>Installing Git on Mac OS X</title>
		<link>http://feedproxy.google.com/~r/jfcouture/~3/SKcGrDd3Tsw/</link>
		<comments>http://jfcouture.com/2007/12/16/installing-git-on-mac-os-x/#comments</comments>
		<pubDate>Sun, 16 Dec 2007 21:38:01 +0000</pubDate>
		<dc:creator>jfcouture</dc:creator>
		
		<category><![CDATA[git]]></category>

		<guid isPermaLink="false">http://jfcouture.com/2007/12/16/installing-git-on-mac-os-x/</guid>
		<description><![CDATA[Note: These instructions are for Mac OS 10.4. I don&#8217;t know if they&#8217;ll work with Leopard.
Installing git is easy, just compile from the source. Git svn is harder to install because it is a bunch of perl scripts that needs the svn perl bindings (it comes with git btw). Here are the steps I recommend [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Note:</strong> These instructions are for Mac OS 10.4. I don&#8217;t know if they&#8217;ll work with Leopard.</p>
<p>Installing git is easy, just compile from the source. Git svn is harder to install because it is a bunch of perl scripts that needs the svn perl bindings (it comes with git btw). Here are the steps I recommend to make sure everything works.</p>
<p>First, we&#8217;ll install git using <a href="http://www.macports.org/" title="The MacPorts Project -- Home">Macports</a>. This will take care of installing all the required perl libraries:</p>
<pre>
$ sudo port install git-core +svn
</pre>
<p>However, macports installs a slightly old version of git. So I suggest <a href="http://git.or.cz/" title="Git - Fast Version Control System">downloading</a> the latest and compiling from source.</p>
<pre>
$ sudo make install
 # Note: watch out for the way your PATH is setup
 # to make sure you are using this new git version
 # instead of the macports version
$ git --version
</pre>
<p>Now if you try to run git svn, you might get an error about it not finding SVN/Core.pm. That means your version of subversion does not include the perl bindings (which is the standard if you installed svn with macports). I suggest you install subversion from this <a href="http://downloads.open.collab.net/binaries.html" title="downloads:        Downloads">package</a> that includes the language bindings. Now you need to add this to your ~/.profile:</p>
<pre>export PERL5LIB=/usr/local/lib/svn-perl</pre>
<p>Everything should work. Now it&#8217;s time to import your svn repositories and enjoy git.</p>
]]></content:encoded>
			<wfw:commentRss>http://jfcouture.com/2007/12/16/installing-git-on-mac-os-x/feed/</wfw:commentRss>
		<feedburner:origLink>http://jfcouture.com/2007/12/16/installing-git-on-mac-os-x/</feedburner:origLink></item>
	</channel>
</rss><!-- Dynamic Page Served (once) in 0.560 seconds -->
