Skip to content

Instantly share code, notes, and snippets.

@kid-pro-kuo
Forked from bloombar/.gitignore
Created October 24, 2024 16:10
Show Gist options
  • Select an option

  • Save kid-pro-kuo/5952d3b71eefb4f0ebf627315bfc9783 to your computer and use it in GitHub Desktop.

Select an option

Save kid-pro-kuo/5952d3b71eefb4f0ebf627315bfc9783 to your computer and use it in GitHub Desktop.
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
############
# it's better to unpack these files and commit the raw source
# git has its own built in compression methods
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip
# Logs and databases #
######################
*.log
*.sql
*.sqlite
# OS generated files #
######################
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
# Typical Node.js artifacts #
#############################
# NPM lock file - while this is often included in real projects, for practice projects it's best to ignore it to not artificially bloat the git log statistics of lines of code added, removed, etc.
package-lock.json
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
# nyc test coverage
.nyc_output
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
**/node_modules/
jspm_packages/
**/jspm_packages
# Results of React build script
build/
**/build/
# React dependencies
.pnp
.pnp.js
# dotconfig artifacts
.env.local
.env.development.local
.env.test.local
.env.production.local
# TypeScript v1 declaration files
typings/
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
# next.js build output
.next
## Emacs artefacts ##
*~
## Jekyll artifacts
**/.jekyll-cache
**/_site/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment