Last active
February 3, 2022 11:29
-
-
Save nothub/2263f5d0f73acbb16a5419c1c66bfad9 to your computer and use it in GitHub Desktop.
gitignore whitelisting https://jasonstitt.com/gitignore-whitelisting-patterns
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
| # ignore all files | |
| * | |
| # but include directories | |
| !*/ | |
| # git | |
| !/**/.gitkeep | |
| !/.gitattributes | |
| !/.gitignore | |
| # java | |
| !/src/** | |
| # maven | |
| !/pom.xml | |
| # gradle | |
| !/build.gradle | |
| !/gradle.properties | |
| !/gradle/wrapper/gradle-wrapper.properties | |
| !/gradlew | |
| !/gradlew.bat | |
| !/settings.gradle | |
| # python | |
| /venv | |
| !/*.py | |
| !/requirements.txt | |
| # js | |
| !/*.js | |
| !/*.ts | |
| !/*.tsx | |
| !/.eslintrc.yml | |
| !/package.json | |
| !/package-lock.json | |
| # make | |
| !/Makefile | |
| # ci | |
| !/.github/** | |
| # docker | |
| !/Dockerfile | |
| !/docker-compose.yml | |
| # docs | |
| !/*.md | |
| # misc | |
| !/.editorconfig | |
| !/LICENSE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment