Skip to content

Commit 695e405

Browse files
committed
Add git clean/smudge commands to README
1 parent 081c58a commit 695e405

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,19 @@ Why not design and build your own expansion card? You could try designing:
284284

285285
See [CHANGELOG.md](./CHANGELOG.md) for a list of detailed changes.
286286

287+
## Git Setup
288+
289+
We recommend you have the following Git config set:
290+
291+
```
292+
$ git config --global filter.kicad_project.clean "sed -E 's/^update=.*$/update=Date/'"
293+
$ git config --global filter.kicad_project.smudge cat
294+
$ git config --global filter.kicad_sch.clean "sed -E 's/#(PWR|FLG)[0-9]+/#\1?/'"
295+
$ git config --global filter.kicad_sch.smudge cat
296+
```
297+
298+
See https://jnavila.github.io/plotkicadsch/ for details.
299+
287300
## Licence
288301

289302
This schematic and PCB design is Copyright (c) The Neotron Developers.

0 commit comments

Comments
 (0)