Created
November 5, 2025 06:31
-
-
Save manishsongirkar/7944a69f86fb4114a2aa436cb2f6dbef to your computer and use it in GitHub Desktop.
An example global gitignore file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # An example global gitignore file | |
| # | |
| # Place a copy if this at ~/.gitignore_global | |
| # Run `git config --global core.excludesfile ~/.gitignore_global` | |
| # Git # | |
| ####### | |
| .git | |
| .gitattributes | |
| # Compiled source # | |
| ################### | |
| *.com | |
| *.class | |
| *.dll | |
| *.exe | |
| *.o | |
| *.so | |
| *.pyc | |
| *.pyo | |
| *.obj | |
| *.out | |
| *.a | |
| *.lib | |
| # Packages # | |
| ############ | |
| *.7z | |
| *.dmg | |
| *.gz | |
| *.iso | |
| *.jar | |
| *.rar | |
| *.tar | |
| *.tgz | |
| *.zip | |
| *.msi | |
| *.deb | |
| *.rpm | |
| *.pkg | |
| # Logs and databases # | |
| ###################### | |
| *.log | |
| *.sqlite | |
| npm-debug.log* | |
| yarn-debug.log* | |
| yarn-error.log* | |
| lerna-debug.log* | |
| *.pid | |
| *.seed | |
| *.pid.lock | |
| *.db | |
| *.db-journal | |
| # OS generated files # | |
| ###################### | |
| .DS_Store | |
| .DS_Store? | |
| ._* | |
| .Spotlight-V100 | |
| .Trashes | |
| ehthumbs.db | |
| Thumbs.db | |
| desktop.ini | |
| .DocumentRevisions-V100 | |
| .fseventsd | |
| .TemporaryItems | |
| .VolumeIcon.icns | |
| .com.apple.timemachine.donotpresent | |
| .AppleDouble | |
| .LSOverride | |
| # Temporary files # | |
| ################### | |
| *.bak | |
| *.tmp | |
| *.swp | |
| *.swo | |
| *~ | |
| *# | |
| *.orig | |
| # IDE / Editor files # | |
| ###################### | |
| .vscode/ | |
| .idea/ | |
| *.iml | |
| *.sublime-project | |
| *.sublime-workspace | |
| *.code-workspace | |
| *.komodoproject | |
| # Node.js # | |
| ########### | |
| node_modules/ | |
| debug.log | |
| .npm/ | |
| .eslintcache | |
| .babel-cache/ | |
| .cache/ | |
| coverage/ | |
| .nyc_output/ | |
| .env | |
| .env.local | |
| .env.development | |
| .env.production | |
| .env.test | |
| # Task runners / Package managers # | |
| ################################### | |
| .grunt/ | |
| bower_components/ | |
| .sass-cache/ | |
| jspm_packages/ | |
| # WordPress / PHP # | |
| ################### | |
| mu-plugins/local-extras.php | |
| */mu-plugins/local-extras.php | |
| wp-content/uploads/ | |
| wp-content/cache/ | |
| composer.lock | |
| wp-content/plugins/stage-file-proxy/ | |
| plugins/stage-file-proxy/ | |
| # Misc # | |
| ######## | |
| *.patch | |
| *.diff | |
| sftp-config.json | |
| .vagrant/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment