Skip to content

Instantly share code, notes, and snippets.

@kurtzilla
Last active July 2, 2018 17:21
Show Gist options
  • Save kurtzilla/e1d20d66c37463535eb343e915436878 to your computer and use it in GitHub Desktop.
Save kurtzilla/e1d20d66c37463535eb343e915436878 to your computer and use it in GitHub Desktop.

Remove all the .ignore files in package modules.

Also remove cached files ie:

[from root]
git rm -r --cached packages/web/.env.development
git rm -r --cached packages/web/.env.production
...etc...

Proposed [root] .gitgnore

.DS_Store
.idea/
.vscode/
.expo/
.netlify

node_modules/
build/
temp/
dist/

.env
.env.*
!.env.example

dump.rdb
*.log
npm-debug.*
npm-debug.log*
yarn-debug.log*
yarn-error.log*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment