<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Ruslan&#39;s Tech Blog</title>
    <link>https://blog.bekenev.net/tags/git.html</link>
    <description>Software development related stuff</description>
    <language>en-us</language>
    <lastBuildDate>Wed, 03 Apr 2019 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://blog.bekenev.net/tags/git/feed.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>git grep --untracked</title>
      <link>https://blog.bekenev.net/2019/04/03/git-grep-untracked.html</link>
      <pubDate>Wed, 03 Apr 2019 00:00:00 +0000</pubDate>
      <guid>https://blog.bekenev.net/2019/04/03/git-grep-untracked.html</guid>
      <description>&lt;p&gt;Turned out I use &lt;code&gt;git grep&lt;/code&gt; a lot with my VIM (using &lt;a href=&#34;https://github.com/dkprice/vim-easygrep/issues&#34;&gt;EasyGrep&lt;/a&gt;&#xA;plugin). At some point this plugin just stopped to show me all the available results.&lt;/p&gt;&#xA;&lt;p&gt;Due to lack of explicit &lt;code&gt;git grep&lt;/code&gt; usage it was pretty mysterious.&lt;/p&gt;&#xA;&lt;p&gt;The reason is that &lt;code&gt;git grep&lt;/code&gt; doesn&amp;rsquo;t search in untracked files.&#xA;If you want to search in untracked files too just add &lt;code&gt;--untracked&lt;/code&gt; option to the command like this:&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;git grep --untracked SomethingILookingFor *&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;a href=&#34;https://git-scm.com/docs/git-grep&#34;&gt;Official git grep doc&lt;/a&gt;&lt;/p&gt;&#xA;</description>
    </item>
  </channel>
</rss>
