<?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/"
	>

<channel>
	<title>dev. &#187; git</title>
	<atom:link href="http://coliena.com/blog/tag/git/feed/" rel="self" type="application/rss+xml" />
	<link>http://coliena.com/blog</link>
	<description>some software engineers&#039; random rants and thoughts</description>
	<lastBuildDate>Mon, 30 Aug 2010 20:02:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Using WinMerge with git on Windows 7</title>
		<link>http://coliena.com/blog/2009/11/using-winmerge-with-git-on-windows-7/</link>
		<comments>http://coliena.com/blog/2009/11/using-winmerge-with-git-on-windows-7/#comments</comments>
		<pubDate>Sat, 28 Nov 2009 13:03:56 +0000</pubDate>
		<dc:creator>niels</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://coliena.com/blog/?p=199</guid>
		<description><![CDATA[Though git is not my primary source code management tool, I use it whenever I work on complex code that I don’t want to commit yet. Or just to keep track of my local scripts. And using “git difftool”, it is pretty simple to use third party tools like WinMerge for graphical diffs: Create a [...]]]></description>
			<content:encoded><![CDATA[<p>Though <a title="git" href="http://git-scm.com/" target="_blank">git</a> is not my primary source code management tool,  I use it whenever I work on complex code that I don’t want to commit yet. Or just to keep track of my local scripts.<br />
And using “git difftool”, it is pretty simple to use third party tools like WinMerge for graphical diffs:</p>
<ol>
<li>Create a wrapper script (e.g. <code>git-diff-wrapper.sh</code>) and put it anywhere in your Windows path (%PATH%):<br />
<code>#!/bin/sh<br />
"C:/Program Files/WinMerge/WinMergeU.exe" -e -ub "$1" "$2" | cat</code></li>
<li>Update your .gitconfig to run this script whenever “git difftool” is invoked:<br />
<code># … more config …<br />
[diff]<br />
tool = winmerge<br />
[difftool "winmerge"]<br />
cmd = git-diff-wrapper.sh "$LOCAL" "$REMOTE"<br />
# … more config …</code></li>
</ol>
<p>That&#8217;s it, no restart required <img src='http://coliena.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://coliena.com/blog/2009/11/using-winmerge-with-git-on-windows-7/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
