<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Git on Nitin Gupta</title>
    <link>https://nitingupta.dev/tags/git/</link>
    <description>Recent content in Git on Nitin Gupta</description>
    <generator>Hugo</generator>
    <language>en</language>
    <managingEditor>ngupta@nitingupta.dev (Nitin Gupta)</managingEditor>
    <webMaster>ngupta@nitingupta.dev (Nitin Gupta)</webMaster>
    <lastBuildDate>Sun, 27 Dec 2009 06:28:00 -0800</lastBuildDate>
    <atom:link href="https://nitingupta.dev/tags/git/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Comprehensive graphical Git diff viewer</title>
      <link>https://nitingupta.dev/post/comprehensive-graphical-git-diff-viewer/</link>
      <pubDate>Sun, 27 Dec 2009 06:28:00 -0800</pubDate><author>ngupta@nitingupta.dev (Nitin Gupta)</author>
      <guid>https://nitingupta.dev/post/comprehensive-graphical-git-diff-viewer/</guid>
      <description>&lt;p&gt;Since a long time, I was looking for a graphical git diff viewer which&#xA;could show original and modified file side-by-side and highlight the&#xA;changes. There are few solutions but none of them is sufficient:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;A tool included with git called &amp;lsquo;git-difftool&amp;rsquo; is partially helpful&#xA;&amp;ndash; it can show changes graphically but diff for each file is shown&#xA;one-by-one. This is very irritating. In fact, unusable even with&#xA;just 10-15 files.&lt;/li&gt;&#xA;&lt;li&gt;Another alternative is the &lt;a href=&#34;http://meld.sourceforge.net/&#34;&gt;meld diff&#xA;viewer&lt;/a&gt; which is &amp;ldquo;git aware&amp;rdquo;. The&#xA;problem here is that it can show diff for uncommitted changes only&#xA;which is very limiting. What if you want to see what changes between&#xA;Linux kernel, say 2.6.33-rc1 and 2.6.33-rc2? or changes between last&#xA;two commits? meld cannot do it, AFAIK.&lt;/li&gt;&#xA;&lt;li&gt;Finally, with &lt;a href=&#34;http://www.caffeinated.me.uk/kompare/&#34;&gt;kompare&lt;/a&gt;, you&#xA;can do something like: &amp;lsquo;git diff master | kompare -o -&amp;rsquo;. This method&#xA;however, does not show original and new files side-by-side. It is&#xA;simply prettier diff highlighting.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;None of above methods are sufficient. So, I wrote the following script&#xA;which solves our problem: show complete contents of original and new&#xA;files side-by-side and highlight the differences.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Linux kernel workflow with Git</title>
      <link>https://nitingupta.dev/post/linux-kernel-workflow-with-git/</link>
      <pubDate>Wed, 23 Sep 2009 10:21:00 -0700</pubDate><author>ngupta@nitingupta.dev (Nitin Gupta)</author>
      <guid>https://nitingupta.dev/post/linux-kernel-workflow-with-git/</guid>
      <description>&lt;p&gt;You worked on some part of Linux kernel. It works great. Now, how to&#xA;generate the patch series and send it out for review? For this, I always&#xA;used to generate diffs, create a set of draft mails (one for each patch)&#xA;in KMail or Thunderbird, and send all these mails one-by-one. This&#xA;workflow quickly became a big headache. Then I learned Git (and some&#xA;related tools) to do all this from command line and wow! what a&#xA;relief!&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
