Skip to content

Update KiCad.gitignore #4461

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

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

Conversation

krishnans2006
Copy link

Reasons for making this change:
When using KiCad with git/GitHub, I always use a modified version of the official KiCad.gitignore file with these changes applied. New KiCad versions have changed the way backups and autosaves are performed, and this PR hopes to reflect those changes in this repository.

Enumerated list of changes:

  1. Add *-cache*
  2. Generalize *.sch-bak to *-bak and *-bak*
  3. Add ~*
  4. Add #auto_saved_files#

Links to documentation supporting these rule changes:

  • 1, 2, 4: TechOverflow notes the KiCad-generated gitignore. Changes 1, 2, and 4 make this repo's file more consistent with the KiCad recommendation.
  • 3: Reddit notes the introduction of lock files in KiCad v8.

Another Credit: #4176 (comment) for one of this PR's changes.

Copy link

This PR is stale because there have been no updates in 90 days. It will close after 180 days of inactivity. Leave a comment if you want to keep it open 😄

@krishnans2006
Copy link
Author

Still looking to get this merged (just rebased on main). Happy to make any requested changes.

@github-actions github-actions bot removed the stale label Jun 13, 2025
@wirecat
Copy link
Collaborator

wirecat commented Jun 13, 2025

@krishnans2006 I see a merge conflict again. Could you please resolve it?

@krishnans2006
Copy link
Author

@krishnans2006 I see a merge conflict again. Could you please resolve it?

@wirecat done!

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