.gitignore Not Working?

I’ve been playing with GIT for a few years now, and I found this useful. If you add something to your .gitignore file and it isn’t being ignored, you may want to run this command (the example is recursive and primarily for directories):

git rm -r --cached path/to/dir

About jancel

A passionate web developer in St. Louis. Living on the edge with Rails, HTML5, CSS3 and any interesting libraries around. I love to spend time with the family, cook, develop web applications and play with our dragons. When I have nothing else to do, I socialize via twitter (@jancel) and facebook.
This entry was posted in git, Scripting. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>