<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>line endings on Tutes Club</title><link>https://tutes.in/tag/line-endings/</link><description>Recent content in line endings on Tutes Club</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sat, 04 Jul 2020 09:37:39 +0000</lastBuildDate><atom:link href="https://tutes.in/tag/line-endings/index.xml" rel="self" type="application/rss+xml"/><item><title>How to remove files with “No Content Changes Found” in Git Desktop</title><link>https://tutes.in/how-to-remove-files-with-no-content-changes-found-in-git-desktop/</link><pubDate>Wed, 08 May 2019 10:02:59 +0000</pubDate><guid>https://tutes.in/how-to-remove-files-with-no-content-changes-found-in-git-desktop/</guid><description>&lt;p&gt;There are 3 possible ways git can find a file changed (even if you didn’t change it)&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Line Endings have changed&lt;/li&gt;
&lt;li&gt;File permissions have changed&lt;/li&gt;
&lt;li&gt;Bonus: if modification time has changed&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;for first case try these settings in bash shell. &lt;strong&gt;One of these&lt;/strong&gt; will fix it for you&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;$ git config core.eol
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;$ git config core.autocrlf
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;$ git config core.safecrlf
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;For second case, here is the flag&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;git config core.filemode &lt;span class="nb"&gt;false&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id="bonus-one-if-modification-time-was-changed"&gt;Bonus One: If Modification time was changed&lt;/h3&gt;
&lt;p&gt;If your working tree has files with updated “last modification time” and you see a huge list of files with “no content changes found”, try this:&lt;/p&gt;</description></item></channel></rss>