× {{alert.msg}} Never ask again
Get notified about new tutorials RECEIVE NEW TUTORIALS

Remove .DS_Store from being tracked throughout your project

William Countiss
Nov 06, 2015
<p>Sometimes  I forget to have my .gitignore in place before I start making commits, and when that happens git will track  .DS_Store, which you don't want in your repo.  Simple Fix.</p> <p> </p> <pre><code class="language-bash">git rm --cached "*.DS_Store" git commit -m "remove all .DS_Store"</code></pre> <p> </p>
comments powered by Disqus