Skip to content

Instantly share code, notes, and snippets.

@maxp
Last active November 18, 2021 07:57
Show Gist options
  • Save maxp/dada33a11fe124761123ed7db6ff020f to your computer and use it in GitHub Desktop.
Save maxp/dada33a11fe124761123ed7db6ff020f to your computer and use it in GitHub Desktop.
Generic .gitignore
#
# maxp.dev: generic .gitignore
#
## no hiddens in scm
.*
## editor backups
*~
*.bak
*.old
*.swp
*.tmp
## binary output
*.[ao]
*.l[ao]
*.so
*.apk
*.app
*.bin
*.dex
*.dll
*.dylib
*.elf
*.exe
*.lib
*.[gp]ch
*.py[cod]
*.obj
*.out
## java
*.class
*.[jerw]ar
*.ser
## other
*.dump
*.iml
*.lock
*.log
*.test
## build dirs
/bin/
/build/
/classes/
/target/
/pkg/
/out/
/tmp/
/node_modules/
/.clj-kondo/cache/
## cache
__pycache__/
## allow
!.clj-kondo/
!.git*
!.github/
!.dockerignore
!.drone*
!.eslint*
!.npmingore
!.travis.yml
!yarn.lock
#.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment