Created
May 26, 2023 13:55
-
-
Save 32teeth/956f3e5e99b63cf8f1695c6b55868f0d to your computer and use it in GitHub Desktop.
git pre-commit hook to clean your Eagle CAD files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| find ./ -type f \( -iname \*.b#\* -o -iname \*.s#\* \) -delete |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Put this file in your local
.gitfolder and when you run agit commitcommand it will clean up all those.b#1,.b#2,.b#3,.s#1,.s#2,.s#3files for you