Restoring .gitignore and .npmignore to previous state