Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialGraham Davidson
Courses Plus Student 14,966 Pointsgitignore not ignoring
Hi there,
I am using git on a project and in my gitignore file (which I have posted here http://codepen.io/justg/pen/Auonv/) I have a rule to ignore the sublime workspace file - however in my git status it still shows - why is that? Can anyone help please.
2 Answers
rayorke
27,709 PointsWas the file checked in previously? You can untrack the file with the following:
$ git rm --cached
Graham Davidson
Courses Plus Student 14,966 PointsTop Banana work Rhys thank you
rayorke
27,709 PointsGlad to help!