Reputation: 65
I placed some files in the .gitignore and now it's deleting files and entire folders from the project's repo.
Anyone knows how and why is this happening?
Thanks!
Upvotes: 0
Views: 725
Reputation: 2624
Something else is happening, because files specified in .gitignore are not acted on by Git.
If you did a 'git clean' then files in '.gitignore' are not deleted. However they are deleted if you enter 'git clean -x'.
Upvotes: 1