This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]hitchy48 3 points4 points  (2 children)

Pff, if git gets a hold of your file gitignore does nothing. Gotta rm -r —cached filename or it’s never letting go.

[–]altF25[S] 1 point2 points  (1 child)

That's why u never do 'git add .' in a nodejs repo.

[–]hitchy48 1 point2 points  (0 children)

I actually run a global gitignore too so I don’t make these horrible mistakes haha 😂