.gitignore for Eagle

32 ignore rules for Eagle, ready to copy into your repository.

PCB design software

The complete .gitignore for Eagle

# Generated by LFGitignore - https://lfgitignore.com
# Created: 2026-08-05 01:30:04 UTC
# Technologies: Eagle

### Eagle ###
# ?
*.s
# ?
*.b
# ?
*.l
*.b$?
*.s$?
*.l$?
eagle.epf
*.pro
*.job
*.$$$
*.cmp
*.ly2
*.l15
*.sol
*.plc
*.stc
*.sts
*.crc
*.crs
*.dri
*.drl
*.gpi
*.pls
*.ger
*.xln
*.drd
*.drd.*
*.info
*.eps
*.lck

What these Eagle rules actually ignore

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

Backup files

Pattern What it ignores
*.s ?
*.b ?
*.l ?
*.b$? Backup files
*.s$? Backup files
*.l$? Backup files
eagle.epf Eagle project file It contains a serial number and references to the file structure on your computer. comment the following line if you want to have your project file included.

Autorouter files

Pattern What it ignores
*.pro Autorouter files
*.job Autorouter files

CAM files

Pattern What it ignores
*.$$$ CAM files
*.cmp CAM files
*.ly2 CAM files
*.l15 CAM files
*.sol CAM files
*.plc CAM files
*.stc CAM files
*.sts CAM files
*.crc CAM files
*.crs CAM files
*.dri CAM files
*.drl CAM files
*.gpi CAM files
*.pls CAM files
*.ger CAM files
*.xln CAM files
*.drd CAM files
*.drd.* CAM files
*.s *
*.b *
*.info CAM files
*.eps CAM files
*.lck file locks introduced since 7.x

How to use this .gitignore for Eagle

  1. Copy the Eagle 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