.gitignore for Altium Designer

10 ignore rules for Altium Designer, ready to copy into your repository.

PCB design software

The complete .gitignore for Altium Designer

# Generated by LFGitignore - https://lfgitignore.com
# Created: 2026-08-05 01:34:43 UTC
# Technologies: Altium Designer

### Altium Designer ###
History
__Previews
Project\ Logs*
Project\ Outputs*
debug.log
Status\ Report.txt
*.PcbDoc.htm
*.SchDocPreview
*.PcbDocPreview
# LibreOffice lock file
.~lock.*

What these Altium Designer rules actually ignore

Every pattern below, and why it belongs in your .gitignore.

Directories containing cache data

Pattern What it ignores
History Directories containing cache data
__Previews Directories containing cache data

Directories containing logs and generated outputs

Pattern What it ignores
Project\ Logs* Directories containing logs and generated outputs
Project\ Outputs* Directories containing logs and generated outputs

Misc files generated by altium

Pattern What it ignores
debug.log Misc files generated by altium
Status\ Report.txt Misc files generated by altium
*.PcbDoc.htm Misc files generated by altium
*.SchDocPreview Misc files generated by altium
*.PcbDocPreview Misc files generated by altium

Lock files sometimes left behind

Pattern What it ignores
.~lock.* LibreOffice lock file

How to use this .gitignore for Altium Designer

  1. Copy the Altium Designer rules above, or download the file directly.
  2. Create a file named .gitignore at the root of your Git repository and paste the rules into it.
  3. If some of those files are already tracked, run git rm -r --cached . then commit again — Git only applies ignore rules to untracked files.
  4. Commit the .gitignore so everyone on the team shares the same rules.

Other Hardware .gitignore templates

See every Hardware template