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 trial

Development Tools

gitignore 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

Was the file checked in previously? You can untrack the file with the following:

$ git rm --cached

Top Banana work Rhys thank you

Glad to help!