Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update KiCad.gitignore to ignore KiCad 6.0 zip backups #3962

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nopunin10did
Copy link

Reasons for making this change:

I like having github automatically populate gitignore files for my KiCad projects.

Links to documentation supporting these rule changes:

KiCad 6 Common Preferences
Note the "Automatically backup projects" option. In practice, this creates a subfolder with a name similar to the current project, just with "-backups" appended to it. ZIP files are populated there.

It may be reasonable to more widely ignore ZIP files in KiCad, but it may be useful for people to maintain snapshots of stable manufacturer export files (which are usually packaged as ZIPs).

If this is a new template:

N/A

@bdougie
Copy link
Contributor

bdougie commented Feb 11, 2022

Can you help me understand how this is beneficial to the rest of the KiCad community?

@nopunin10did
Copy link
Author

@bdougie
Because KiCad 6 is constantly updating these backups, it means that a repository will get filled with version after version of binary files that hold onto information already present in git in other files.

Such files should be ignored by default for any KiCad user working in git.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants