.gitignore template for AI coding projects
Expo ignores: node_modules, .expo, native folders, signing files, .env.
Download .gitignore
How to use this template
- Read the template. Inspect the full file below and decide which instructions match your project.
- Adapt it to your repo. Save it as .gitignore. Replace placeholders and update stack choices, paths and verification commands to match your repository.
- Check and commit. Review the diff. Test the listed commands and keep the file in version control so future changes can be reviewed.
Complete template
# Expo
node_modules/
.expo/
dist/
web-build/
expo-env.d.ts
# Native folders, made by prebuild and EAS
/ios
/android
# Builds and signing
*.ipa
*.apk
*.aab
*.jks
*.p8
*.p12
*.key
*.mobileprovision
*.pem
# Secrets, never commit them
.env
.env*.local
# Logs and tests
npm-debug.log*
yarn-error.log*
coverage/
# OS
.DS_Store
Thumbs.db