*.bak
*.kicad_pcb-bak
*.sch-bak
# only include the cache and rescue libs
*.lib
!**/*-cache.lib
!**/*-rescue.lib
# useful to allow auto rescue lib inclusion
# sym-lib-table
# fp-lib-table
# *.dcm
# no one knows what is this anyway :)
fp-info-cache
# include step files only inside 3dshapes folders
*.step
!**/*.3dshapes/*.step
# include only the packed gerber files
**/gerber/*
!**/gerber/*.zip
# explicacao: https://jnavila.github.io/plotkicadsch/
# antes de instalar qualquer coisa verifique se a instalacao já nao foi feita com:
# git config --list
# procure pelas linhas de filtros do kicad
# para estes filtros funcionares os 4 comandos abaixo devem ser executados no
# repositorio do projeto. ou pode ser executado uma unica vez no `config --global`
# git config --local filter.kicad_project.clean "sed -E 's/^update=.*$/update=Date/'"
# git config --local filter.kicad_project.smudge cat
# git config --local filter.kicad_sch.clean "sed -E 's/#(PWR|FLG)[0-9]+/#\1?/'"
# git config --local filter.kicad_sch.smudge cat
# ou ainda um arquivo .gitconfig poderia ser criado com o seguinte conteúdo:
# [filter "kicad_project"]
# clean = sed -E 's/^update=.*$/update=Date/'
# smudge = cat
# e depois instalado no repositorio local com:
# git config --local include.path $(realpath --relative-to=$(git rev-parse --git-dir) .gitconfig)
# NOTA: a versao que usa incluide eh legal mas nao funciona por causa de algum bug do git.
# como o filtro do SCH usa o simbolo hash ele eh interpretado como comentario durante a inclusao.
*.pro filter=kicad_project
*.sch filter=kicad_sch