What .gitignore to use for KiCAD projects?
KiCAD generates a lot of backup-like files, for example MyPCB.sch-bak that should be ignored by git and don’t need to be committed to the repository.
This is the .gitignore file I use to manage my KiCAD projects:
.gitignore
*-bak
*-backups
*-cache*
*-bak*
_autosave*
\#auto_saved_files\#Note that TechOverflow’s KiCAD project initialization script automatically generates this.gitignore.
Check out similar posts by category:
KiCAD
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow