Skip to content

Instantly share code, notes, and snippets.

@zubair1024
Created January 5, 2021 21:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zubair1024/e6d3c65fb0d1e8716cc7b8c8785421ab to your computer and use it in GitHub Desktop.
Save zubair1024/e6d3c65fb0d1e8716cc7b8c8785421ab to your computer and use it in GitHub Desktop.
one_gitignore_to_rule_them_all
#######################################
# Custom #
#######################################
.vscode
#######################################
# Operating Systems #
#######################################
# OS X
.DS_Store
._*
.Spotlight-V100
.Trashes
# KDE directory preferences
.directory
# Windows
Desktop.ini
Thumbs.db
ehthumbs.db
$RECYCLE.BIN/
Icon?
#######################################
# Node.js #
#######################################
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.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
*.lcov
# nyc test coverage
.nyc_output
# Grunt intermediate storage (https://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/
jspm_packages/
# Snowpack dependency directory (https://snowpack.dev/)
web_modules/
# TypeScript cache
*.tsbuildinfo
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
.env.test
# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache
# Next.js build output
.next
out
# Nuxt.js build / generate output
.nuxt
dist
# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public
# vuepress build output
.vuepress/dist
# Serverless directories
.serverless/
# FuseBox cache
.fusebox/
# DynamoDB Local files
.dynamodb/
# TernJS port file
.tern-port
# Stores VSCode versions used for testing VSCode extensions
.vscode-test
# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
#######################################
# Temporary #
#######################################
# Files
*.tmp
*.log
# Directories
log/
logs/
tmp/
cache/
#######################################
# Archives #
#######################################
*.7z
*.bz2
*.bzip
*.deb
*.dmg
*.egg
*.gem
*.gz
*.iso
*.lzma
*.rar
*.rpm
*.tar
*.xpi
*.xz
*.zip
#######################################
# IDE and Editors #
#######################################
# Eclipse
*.pydevproject
.project
.metadata
bin
bin/**
*~.nib
local.properties
.classpath
.settings/
.loadpath
.externalToolBuilders/
*.launch
.cproject
.buildpath
# Netbeans
nbproject/private/
build/
nbbuild/
dist/
nbdist/
nbactions.xml
nb-configuration.xml
# IntelliJ IDEA
*.iml
*.ipr
*.iws
.idea/
# XCode
xcuserdata
project.xcworkspace
# Notepad++
nppBackup
# SublimeText project files
*.sublime-workspace
# Textmate
*.tmproj
*.tmproject
tmtags
# vim
*.un~
Session.vim
.netrwhist
# Editors with AutoBackup
*~
#######################################
# Build Systems #
#######################################
# Autotools
Makefile.in
autom4te.cache
aclocal.m4
compile
configure
depcomp
install-sh
missing
# waf
.waf-*
.lock-*
# Maven
target
pom.xml.tag
pom.xml.releaseBackup
pom.xml.next
release.properties
dependency-reduced-pom.xml
#######################################
# Version Control Systems #
#######################################
# Mercurial
/.hg/*
*/.hg/*
.hgignore
# SVN
.svn/
#######################################
# Other Languages #
#######################################
# Java
*.class
*.ear
*.jar
*.war
# C
*.o
*.lib
*.a
*.dll
*.ko
*.so
*.so.*
*.dylib
*.exe
*.out
*.app
# C++
*.slo
*.lo
*.o
*.so
*.dylib
*.lai
*.la
*.a
# Latex
*.acn
*.acr
*.alg
*.aux
*.bcf
*.bbl
*.blg
*.brf
*.dvi
*.fdb_latexmk
*.fls
*.glg
*.glo
*.gls
*.idx
*.ilg
*.ind
*.ist
*.lof
*.log
*.lol
*.lot
*.maf
*.mtc
*.mtc0
*.nav
*.nlo
*.out
*.pdfsync
*.pdftex
*.ps
*.pyg
*.snm
*.synctex.gz
*.thm
*.toc
*.vrb
*.xdy
*.tdo
# Python
*.pyc
# Scala - sbt specific
.cache
.history
lib_managed/
src_managed/
project/boot/
project/plugins/project/
project/target
# Scala - IDE specific
.scala_dependencies
.worksheet
#######################################
# Server #
#######################################
cgi-bin/
error_log
.bash_logout
.bash_profile
.bashrc
.cgi-bin/
.contactemail
.cpanel/
.cpanel-logs
.ftpquota
.htpasswd
.htpasswds
.HttpRequest/
.lastlogin
.rnd
.trash/
#######################################
# Caches #
#######################################
# SASS
.sass-cache
#######################################
# File backups #
#######################################
*.bak
*.backup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment