Compare commits

...

49 Commits

Author SHA1 Message Date
Yorick de Wid
dfcfc6d29c
Merge 337f44fd32 into 4d89c5d3e2 2026-04-18 10:23:33 +00:00
Devin Dooley
4d89c5d3e2
Merge pull request #4813 from danilofroes/solidworks-gitignore
Add gitignore for SolidWorks projects
2026-04-17 16:22:17 -07:00
Devin Dooley
aef8819a8f
Merge pull request #4815 from mvanhorn/osc/zed-gitignore
Add Zed editor to Global gitignore templates
2026-04-17 16:15:20 -07:00
Devin Dooley
8f5497c4be
Merge pull request #4817 from mvanhorn/osc/tauri-gitignore
Add Tauri to community gitignore templates
2026-04-17 16:10:58 -07:00
Devin Dooley
70da24ee68
Merge pull request #4838 from add-uos/feat-qt-add-build-dir
feat(qt): add build directory to gitignore
2026-04-17 16:05:53 -07:00
Devin Dooley
4def375658
Merge pull request #4841 from DeflateAwning/deflateawning-kicad-v9-history
KiCad: Add `.history` folder to template
2026-04-17 15:57:09 -07:00
Daniel Johnson
1a7b75fb11
Merge pull request #4705 from EndrII/patch-2
[Qt/QML] Added .qmlls.ini to ignore
2026-04-17 15:00:07 -07:00
Daniel Johnson
81a7cc6c11
Merge pull request #4472 from Snox-dev1/main
Add bun.gitignore for Bun-based projects
2026-04-17 14:50:12 -07:00
Daniel Johnson
734bf73afa
Merge pull request #4845 from github/remove-duplicate-ask
Removes duplicate project homepage ask
2026-04-17 14:46:20 -07:00
Daniel Johnson
f86606d285
Merge pull request #4791 from kailando/main
Resolve merge conflicts for PR #4300
2026-04-17 14:45:42 -07:00
Daniel Johnson
61268c1e43
Merge pull request #4269 from dsplaisted/patch-2
Add .artifacts folder to Visual Studio .gitignore
2026-04-17 14:42:46 -07:00
Devin Dooley
d958809c97
Merge pull request #4696 from jefferyto/macos-update
Update macOS.gitignore
2026-04-17 14:41:47 -07:00
Daniel Johnson
9947276662 Removes duplicate project homepage ask
We always want to know information about a project before we accept
changes in a PR.
2026-04-17 14:35:32 -07:00
Daniel Johnson
23d3287511
Merge pull request #4182 from brajnacs/patch-1
Remove extra .cache pattern
2026-04-17 14:16:39 -07:00
Daniel Johnson
570fce64e4
Merge pull request #4121 from KacperFKorban/scala3
Update Scala template to include `.tasty` files introduced in Scala 3
2026-04-17 14:15:33 -07:00
Daniel Johnson
1187b2cb9b
Merge pull request #4816 from mvanhorn/osc/deno-gitignore
Add Deno.gitignore
2026-04-17 14:06:02 -07:00
Daniel Johnson
e094da038b
Merge pull request #4749 from justinlanejigglesoft/feature/Microchip_MPLAB_X_IDE
Created Microchip_MPLAB_X_IDE.gitignore file.
2026-04-17 13:53:22 -07:00
Daniel Johnson
9d7511bedc
Merge pull request #4843 from github/clarified_contribution
Cleans up and clarifies gitignore contribution guidelines
2026-04-17 13:46:32 -07:00
Daniel Johnson
d4753897ec
Remove CI passing checklist from PR template
Removed the checklist item for ensuring CI is passing. We don't really have CI as of yet and it's confusing to list that requirement. If we do add CI, we'll make it required instead of adding it to the template checklist.
2026-04-17 13:45:39 -07:00
Daniel Johnson
a76c0e6d8e
Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-17 13:44:33 -07:00
Daniel Johnson
d0c2ec65c2 Cleans up and clarifies gitignore contribution guidelines
Adds clarification around our expectations for contributions and
how contributions will be handled when they don't meet our requirements.

Updates template to lean into our contribution guidelines.

Cleans up duplicate wording around our contribution guidelines.
2026-04-17 13:36:54 -07:00
DeflateAwning
5b24c9042d KiCad: Add .history folder to template 2026-04-11 23:33:55 -06:00
zhanghongyuan
7441291fc8 feat(qt): add build directory to gitignore 2026-04-07 10:27:46 +08:00
Matt Van Horn
3b288cfb37 Add Tauri to community gitignore templates 2026-03-17 15:35:54 -07:00
Matt Van Horn
3304408968 Add Deno.gitignore 2026-03-17 15:34:46 -07:00
Matt Van Horn
e81fea5f71 Add Zed editor to Global gitignore templates 2026-03-17 15:33:15 -07:00
Danilo Fróes
c97a73771f
Enhance SolidWorks.gitignore for case sensitivity
Added case-sensitive entries for SolidWorks temporary files and backups.
2026-03-15 16:36:41 -03:00
Danilo Fróes
7db9624f69 Add gitignore for SolidWorks projects 2026-03-15 16:22:30 -03:00
kailando
399559e0b7
Resolve merge conflicts for PR #4300 2026-01-25 15:33:17 -06:00
Justin Lane
e0041f1269 Created Microchip_MPLAB_X_IDE.gitignore file. 2025-10-28 19:20:51 +00:00
brajnacs
51c9bed9d0 Remove cache from comments 2025-09-14 07:11:58 +00:00
Yorick de Wid
337f44fd32
Ignore in-tree pnpm store
Under some conditions the pnpm store is placed inside the source tree.
2025-08-19 10:43:14 +02:00
Andrei Yankovich
ebc4db855a
Added .qmlls.ini to ignore
The **.qmlls.ini** files are auto generated files for qt creator qml language tool.

See documentation [QT_QML_GENERATE_QMLLS_INI](https://doc.qt.io/qt-6/cmake-variable-qt-qml-generate-qmlls-ini.html)
2025-08-08 19:49:49 +03:00
Jeffery To
c3b96313ed
Add HFS+ directory for hard links to directories
https://wiki.sleuthkit.org/index.php?title=HFS#HFS.2B_Hard_Links
2025-07-30 07:14:07 +08:00
Memmie Lenglet
a45008d646
Add orphaned file dir
https://www.howtogeek.com/282374/what-is-the-lostfound-folder-on-linux-and-macos/
2025-07-30 06:22:10 +08:00
Memmie Lenglet
edd04dce90
Add TimeMachine recovery boot loader 2025-07-30 06:07:33 +08:00
Memmie Lenglet
52c2f9a7c5
Add disk label
https://refit.sourceforge.net/info/vollabel.html
grub-render-label(1)
https://web.archive.org/web/20201023104810/https://opensource.apple.com/source/kext_tools/kext_tools-623.120.1/bootcaches.plist.auto.html
2025-07-30 06:05:22 +08:00
Memmie Lenglet
1141dbc87f
Add TimeMachine dirs
https://web.archive.org/web/20190101000001/https://www.baligu.com/pondini/TM/Works2.html
https://web.archive.org/web/20201210025437/https://www.baligu.com/pondini/TM/30.html
/System/Library/CoreServices/backupd.bundle/Contents/Resources/StdExclusions.plist
2025-07-30 05:52:25 +08:00
Memmie Lenglet
08a7300667
Add system file reference dirs
/.vol/234881034/105486 is file #105486 on volume #234881034
https://developer.apple.com/library/archive/qa/qa2001/qa1113.html

/.file/id=6571367.17424234/ is file #17424234 on device #6571367
https://developer.apple.com/library/archive/documentation/FileManagement/Conceptual/FileSystemProgrammingGuide/AccessingFilesandDirectories/AccessingFilesandDirectories.html#//apple_ref/doc/uid/TP40010672-CH3-SW6
https://apple.stackexchange.com/questions/231447/is-it-normal-to-have-a-hidden-file-named-file-in/
2025-07-30 05:46:22 +08:00
Memmie Lenglet
51d9679541
Add quota system files
http://novosial.org/osx/quota/index.html
https://web.archive.org/web/20150906150310/http://hints.macworld.com/article.php?story=20030808130810285
https://www.cnet.com/news/how-to-limit-user-disk-space-with-partitions-and-quotas-in-os-x/
2025-07-30 05:42:00 +08:00
Memmie Lenglet
9e92df704e
Add file used by HFS+ to handle the metadata zone
https://developer.apple.com/library/archive/technotes/tn/tn1150.html#HotFile
2025-07-30 05:37:07 +08:00
Memmie Lenglet
647cae16e7
Add folders used for software updates and app sandboxing 2025-07-30 05:33:11 +08:00
Memmie Lenglet
b27567d5be
Add flag file created by Spotlight
Flag file indicate that the drive can be used by Time Machine as a backup target
2025-07-30 05:21:38 +08:00
Memmie Lenglet
7b33adcda3
Add Mac OS 6 to 9 specific files
Metas databases (https://web.archive.org/web/20230328234043/https://support.apple.com/kb/TA46427?locale=en_US), Sherlock settings, Find By Content indexer folders (https://netatalk.io/docs/Special-Files-and-Folders, https://www.kb.cert.org/vuls/id/177243/)
2025-07-30 05:19:57 +08:00
Memmie Lenglet
1b3fb86582
Rename section
Files that start with ._ are resource forks: https://en.wikipedia.org/wiki/Resource_fork#Macintosh_file_systems
2025-07-30 05:15:04 +08:00
Snox
e18a850340
Add bun.gitignore for Bun-based projects
This pull request adds a .gitignore file specifically designed for projects using Bun as a package manager. The bun.gitignore file includes rules to ignore common files and directories generated during development with Bun, as well as other tools and frameworks frequently used in conjunction with Bun.
2024-06-22 01:49:19 +02:00
Daniel Plaisted
21fc4d99eb
Add .artifacts folder to Visual Studio .gitignore
We are planning to add a [new output path format](https://github.com/dotnet/designs/pull/281) to .NET projects which will by default put output in an `.artifacts` folder.  So this PR adds that folder to the Visual Studio .gitignore file.

The first support for this will be in .NET 8 Preview 3.  We will be looking for feedback through the preview process, so it's possible that the folder name or other aspects of the design could change as a result.
2023-03-24 15:04:00 -04:00
brajnacs
b6629caa12
Remove extra .cache pattern
pattern ".cache" is duplicate and already defined in parcel-bundler section
2022-10-31 12:56:54 +05:30
Kacper Korban
d67fc993d6 Update Scala template to include tasty files introduced in Scala 3 2022-07-29 15:29:44 +02:00
16 changed files with 281 additions and 51 deletions

View File

@ -1,3 +1,10 @@
### Link to the application or project's homepage
_TODO_
<!---
Link to the project or application's homepage.
--->
### Reasons for making this change
_TODO_
@ -8,16 +15,18 @@ Please provide some background for this change.
### Links to documentation supporting these rule changes
_TODO_
<!---
Link to the project docs, any existing .gitignore files that project may have in it's own repo, etc
Link to the project docs, any existing .gitignore files that project may have in its own repo, etc
--->
### If this is a new template
Link to application or projects homepage: TODO
### Merge and Approval Steps
- [ ] Confirm that you've read the [contribution guidelines](https://github.com/github/gitignore/tree/main?tab=readme-ov-file#contributing-guidelines) and ensured your PR aligns
- [ ] Ensure CI is passing
- [ ] Get a review and Approval from one of the maintainers
<!---
Please ensure you accomplish these tasks in order to get your contribution accepted
--->
- [ ] I have read the [contribution guidelines](https://github.com/github/gitignore/tree/main?tab=readme-ov-file#contributing-guidelines) and understand my PR will be closed if it doesn't meet these guidelines
<!---
Once done, please wait for a GitHub maintainer to review your PR and if necessary,
work with them to address any findings.
--->

View File

@ -2,36 +2,46 @@
Wed love you to help us improve this project. To help us keep this collection
high quality, we request that contributions adhere to the following guidelines.
Any contributions that don't meet these guidelines will be closed.
- **Provide a link to the application or projects homepage**. Unless its
extremely popular, theres a chance the maintainers dont know about or use
the language, framework, editor, app, or project your change applies to.
- **Provide a reason for making this change**. Even if it seems self-evident,
please take a sentence or two to tell us why your change or addition should
happen. Its especially helpful to articulate why this change applies to
*everyone* who works with the applicable technology, rather than just you or
your team.
- **Provide links to documentation** supporting the change youre making.
Current, canonical documentation mentioning the files being ignored is best.
If documentation isnt available to support your change, do the best you can
to explain what the files being ignored are for.
- **Explain why youre making a change**. Even if it seems self-evident, please
take a sentence or two to tell us why your change or addition should happen.
Its especially helpful to articulate why this change applies to *everyone*
who works with the applicable technology, rather than just you or your team.
- **Keep scope as limited as possible**. Changes should be as small as possible
and apply to the most specific gitignore template available for the target
application. For example: OS-specific ignore rules like `.DS_Store` are not
accepted anywhere but their specific gitignore, `Global/macOS.gitignore` in
this case.
- **Please consider the scope of your change**. If your change specific to a
certain language or framework, then make sure the change is made to the
template for that language or framework, rather than to the template for an
editor, tool, or operating system.
- **Please only modify *one template* per pull request**. This helps keep pull
- **Only modify *one template* per pull request**. This helps keep pull
requests and feedback focused on a specific project or technology.
- **Add new rules to the most appropriate existing section**. Please ensure
your contribution does not create duplicate sections or add rules in
unrelated sections.
- **No duplicate rules**. It's easy to do, but it creates confusion and
introduces the risk of one or the other being missed in an update.
In general, the more you can do to help us understand the change youre making,
the more likely well be to accept your contribution quickly.
If a template is mostly a list of files installed by a particular version of
some software (e.g. a PHP framework) then it's brittle and probably no more
helpful than a simple `ls`. If it's not possible to curate a small set of
useful rules, then the template might not be a good fit for this collection.
useful rules, then the template is not a good fit for this collection.
Please also understand that we cant list every tool that ever existed.
Our aim is to curate a collection of the *most common and helpful* templates,

11
Deno.gitignore Normal file
View File

@ -0,0 +1,11 @@
# Deno
# https://deno.com/
# Cache directory (when using project-local DENO_DIR)
# https://docs.deno.com/runtime/fundamentals/setup/#deno_dir
.deno/
# Coverage reports
# https://docs.deno.com/runtime/reference/cli/coverage/
coverage/
*.lcov

10
Global/Zed.gitignore Normal file
View File

@ -0,0 +1,10 @@
# Zed
# https://zed.dev/docs/configuring-zed#settings-files
#
# Zed stores project settings in a .zed/ directory, similar to .vscode/.
# By default, ignore the directory but allow commonly shared config files.
.zed/*
!.zed/settings.json
!.zed/tasks.json
!.zed/debug.json

View File

@ -6,10 +6,10 @@ __MACOSX/
.LSOverride
Icon[ ]
# Thumbnails
# Resource forks
._*
# Files that might appear in the root of a volume
# Files and directories that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
@ -17,6 +17,15 @@ Icon[ ]
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent
.com.apple.timemachine.supported
.PKInstallSandboxManager
.PKInstallSandboxManager-SystemSoftware
.hotfiles.btree
.vol
.file
.disk_label*
lost+found
.HFS+ Private Directory Data[ ]
# Directories potentially created on remote AFP share
.AppleDB
@ -24,3 +33,25 @@ Icon[ ]
Network Trash Folder
Temporary Items
.apdisk
# Mac OS 6 to 9
Desktop DB
Desktop DF
TheFindByContentFolder
TheVolumeSettingsFolder
.FBCIndex
.FBCSemaphoreFile
.FBCLockFolder
# Quota system
.quota.group
.quota.user
.quota.ops.group
.quota.ops.user
# TimeMachine
Backups.backupdb
.MobileBackups
.MobileBackups.trash
MobileBackups.trash
tmbootpicker.efi

View File

@ -36,5 +36,8 @@ fp-info-cache
# Archived Backups (KiCad 6.0)
**/*-backups/*.zip
# Local git-based history (KiCad 9.0+)
.history
# Local project settings
*.kicad_prl

View File

@ -40,6 +40,7 @@ build/Release
# Dependency directories
node_modules/
jspm_packages/
.pnpm-store/
# Snowpack dependency directory (https://snowpack.dev/)
web_modules/
@ -92,9 +93,8 @@ dist
# vuepress build output
.vuepress/dist
# vuepress v2.x temp and cache directory
# vuepress v2.x temp directory
.temp
.cache
# Sveltekit cache directory
.svelte-kit/

View File

@ -200,6 +200,8 @@ cython_debug/
# and can be added to the global gitignore or merged into this file. However, if you prefer,
# you could uncomment the following to ignore the entire vscode folder
# .vscode/
# Temporary file for partial code execution
tempCodeRunnerFile.py
# Ruff stuff:
.ruff_cache/

View File

@ -29,8 +29,10 @@ ui_*.h
*.jsc
Makefile*
*build-*
build/
*.qm
*.prl
*.qmlls.ini
# Qt unit tests
target_wrapper.*

View File

@ -36,6 +36,9 @@ We support a collection of templates, organized in this way:
## What makes a good template?
First and foremost, a template contribution must adhere to our
[Contributing Guidelines](CONTRIBUTING.md).
A template should contain a set of rules to help Git repositories work with a
specific programming language, framework, tool or environment.
@ -61,33 +64,7 @@ include your language, tool, or project, its not because its not awesome.
## Contributing guidelines
Wed love for you to help us improve this project. To help us keep this collection
high quality, we request that contributions adhere to the following guidelines.
- **Provide a link to the application or projects homepage**. Unless its
extremely popular, theres a chance the maintainers dont know about or use
the language, framework, editor, app, or project your change applies to.
- **Provide links to documentation** supporting the change youre making.
Current, canonical documentation mentioning the files being ignored is best.
If documentation isnt available to support your change, do the best you can
to explain what the files being ignored are for.
- **Explain why youre making a change**. Even if it seems self-evident, please
take a sentence or two to tell us why your change or addition should happen.
Its especially helpful to articulate why this change applies to _everyone_
who works with the applicable technology, rather than just you or your team.
- **Please consider the scope of your change**. If your change is specific to a
certain language or framework, then make sure the change is made to the
template for that language or framework, rather than to the template for an
editor, tool, or operating system.
- **Please only modify _one template_ per pull request**. This helps keep pull
requests and feedback focused on a specific project or technology.
In general, the more you can do to help us understand the change youre making,
the more likely well be to accept your contribution quickly.
Please see our [Contributing Guidelines](CONTRIBUTING.md).
## Versioned templates
@ -153,3 +130,4 @@ by automatically forking the project and prompting to send a pull request too.
## License
[CC0-1.0](./LICENSE).

View File

@ -1,4 +1,5 @@
*.class
*.tasty
*.log
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml

20
SolidWorks.gitignore Normal file
View File

@ -0,0 +1,20 @@
# gitignore file for a SolidWorks project
# SolidWorks temporary files
~$*.sldprt
~$*.sldasm
~$*.slddrw
~$*.sld
# For systems with case-sensitive (SolidWorks uses both)
~$*.SLDPRT
~$*.SLDASM
~$*.SLDDRW
~$*.SLD
# SolidWorks backups and auto-recovery
*.bak
*.swbak
# Cache of simulation results
/simulation_results/

View File

@ -86,6 +86,7 @@ BenchmarkDotNet.Artifacts/
project.lock.json
project.fragment.lock.json
artifacts/
.artifacts/
# ASP.NET Scaffolding
ScaffoldingReadMe.txt

113
bun.gitignore Normal file
View File

@ -0,0 +1,113 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
# database
*.sqlite
# package-json
package-json.lock
# bun deploy file
node_modules.bun
# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
# 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/
# TypeScript v1 declaration files
typings/
# 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
# Next.js build output
.next
# 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

12
community/Tauri.gitignore Normal file
View File

@ -0,0 +1,12 @@
# Tauri
# https://tauri.app/
#
# Recommended: Rust.gitignore
# Rust compilation output
# https://doc.rust-lang.org/cargo/guide/build-cache.html
target/
# WiX Toolset cache (Windows MSI installer builds)
# https://v2.tauri.app/distribute/windows-installer/
WixTools/

View File

@ -0,0 +1,27 @@
#=============================================================================
# Microchip MPLAB X IDE .gitignore file.
#
# MPLABX: https://www.microchip.com/en-us/tools-resources/develop/mplab-x-ide
#
# MPLABX Version Control:-
# https://developerhelp.microchip.com/xwiki/bin/view/software-tools/ides/x/version-control/working-with-version-control/
#-----------------------------------------------------------------------------
# MPLAB X (NetBeans) Project files
**/*.X/nbproject/private/
**/*.X/nbproject/Makefile-*
**/*.X/nbproject/Package-*
!**/*.X/nbproject/*.xml
# MPLAB X Generated Files and Build Output
**/*.X/.generated_files/
**/*.X/build/
**/*.X/dist/
**/*.X/debug/
# MPLAB Code Configurator (MCC)
**/*.X/mcc_generated_files/
**/*.X/mcc-manifest-*.yml
#-----------------------------------------------------------------------------