Removing a file from Git source control but not from the source – Stack Overflow

Just calling git rm –cached on each of the files you want to remove from revision control should be fine. As long as your local ignore patterns are correct you won’t see these files included in the output of git status.

Ian Anderson

I’m a hands-on product person who loves working in startups and agile software teams to help define, design and build great web applications that people find useful and enjoy using. I’ve built several products aimed at online learning and employability, and am keenly interested in “tech for good” and building significant online products for ethical or social businesses.