Expo .gitignore Template
Expo temporary files, local build archives, and web output. Generated and merged deterministically with upstream GitHub repository patterns to keep your repository clean of package directories, temporary build artifacts, and local environment files.
Interactive Stack Generator
Preconfigured with ExpoExpo temporary files, local build archives, and web output
### Expo #### .gitignore template for Expo# website: https://expo.dev/# docs: https://docs.expo.dev/workflow/expo-cli/## Rationale:# node_modules/ is always ignored# .expo/, .expo-shared/ are Expo’s local state and project-settings cache (see docs)# Metro caches/logs are *.expo, *.tunnel, *.cache, *.tmp, *.log # Node modulesnode_modules/ # Expo local state and caches# runtime state (Metro bundler, dev-client data, tunnels).expo/# shared project settings (app.json edits, etc.).expo-shared/ # Metro bundler caches/logs# generic Expo temp files*.expo# Expo DevTools tunnels*.tunnel# Metro cache folder*.cache# temp files created during bundling*.tmp# build or Metro logs*.log # Environment variables.env.env.local.env.*.local # Package manager logsnpm-debug.log*yarn-debug.log*yarn-error.log* Raw Expo .gitignore
Crawlable upstream source template# .gitignore template for Expo# website: https://expo.dev/# docs: https://docs.expo.dev/workflow/expo-cli/## Rationale:# node_modules/ is always ignored# .expo/, .expo-shared/ are Expo’s local state and project-settings cache (see docs)# Metro caches/logs are *.expo, *.tunnel, *.cache, *.tmp, *.log # Node modulesnode_modules/ # Expo local state and caches# runtime state (Metro bundler, dev-client data, tunnels).expo/# shared project settings (app.json edits, etc.).expo-shared/ # Metro bundler caches/logs# generic Expo temp files*.expo# Expo DevTools tunnels*.tunnel# Metro cache folder*.cache# temp files created during bundling*.tmp# build or Metro logs*.log # Environment variables.env.env.local.env.*.local # Package manager logsnpm-debug.log*yarn-debug.log*yarn-error.log* Key Pattern Breakdown
Dependencies & Package Registries
External libraries and package manager directories installed locally rather than stored in version control.
Environment Secrets & Local Overrides
Local environment configurations, secrets, and credentials intended to protect developer-specific settings from exposure.
Execution Caches & Runtime Logs
Diagnostic logs, runtime metadata, test coverage reports, and incremental compiler caches that cause noisy repository diffs.
Source & Verification
Place this file in the root directory of your project as .gitignore. Changes take effect on newly added or untracked files.