.gitignore for KiCad
25 ignore rules for KiCad, ready to copy into your repository.
Electronic design automation
The complete .gitignore for KiCad
# Generated by LFGitignore - https://lfgitignore.com
# Created: 2026-08-05 01:32:19 UTC
# Technologies: KiCad
### KiCad ###
*.000
# Backup file
*.bak
*.bck
*.kicad_pcb-bak
*.kicad_sch-bak
*-backups
*-cache*
*-bak
*-bak*
# Emacs backup files
*~
~*
_autosave-*
# auto_saved_files\#
\
# Temporary files
*.tmp
*-save.pro
*-save.kicad_pcb
fp-info-cache
~*.lck
*.net
*.dsn
*.ses
*.xml
*.csv
**/*-backups/*.zip
*.kicad_prl
What these KiCad rules actually ignore
Every pattern below, and why it belongs in your .gitignore.
Temporary files
| Pattern | What it ignores |
|---|---|
*.000 |
Temporary files |
*.bak |
Backup file |
*.bck |
Temporary files |
*.kicad_pcb-bak |
Temporary files |
*.kicad_sch-bak |
Temporary files |
*-backups |
Temporary files |
*-cache* |
Temporary files |
*-bak |
Temporary files |
*-bak* |
Temporary files |
*~ |
Emacs backup files |
~* |
Temporary files |
_autosave-* |
Temporary files |
\ |
auto_saved_files\# |
*.tmp |
Temporary files |
*-save.pro |
Temporary files |
*-save.kicad_pcb |
Temporary files |
fp-info-cache |
Temporary files |
~*.lck |
Temporary files |
Netlist files (exported from Eeschema)
| Pattern | What it ignores |
|---|---|
*.net |
Netlist files (exported from Eeschema) |
Autorouter files (exported from Pcbnew)
| Pattern | What it ignores |
|---|---|
*.dsn |
Autorouter files (exported from Pcbnew) |
*.ses |
Autorouter files (exported from Pcbnew) |
Exported BOM files
| Pattern | What it ignores |
|---|---|
*.xml |
Exported BOM files |
*.csv |
Exported BOM files |
Archived Backups (KiCad 6.0)
| Pattern | What it ignores |
|---|---|
**/*-backups/*.zip |
Archived Backups (KiCad 6.0) |
Local project settings
| Pattern | What it ignores |
|---|---|
*.kicad_prl |
Local project settings |
How to use this .gitignore for KiCad
- Copy the KiCad rules above, or download the file directly.
- Create a file named .gitignore at the root of your Git repository and paste the rules into it.
- If some of those files are already tracked, run git rm -r --cached . then commit again — Git only applies ignore rules to untracked files.
- Commit the .gitignore so everyone on the team shares the same rules.