add public/.gitignore file
Revert "add public/.gitignore file"

This reverts commit b511b89d7d75c4455045ee76bcaae6bcbb74047b.
edit global .gitignore