Use an inclusive .gitignore file
Ignore everything and explicitly add required directories and files.
This commit is contained in:
parent
6bd7f4a714
commit
3ece189cc6
18
.gitignore
vendored
18
.gitignore
vendored
|
@ -1,9 +1,19 @@
|
||||||
# Do not edit this file. It is automatically generated by https://www.oliverdavies.uk/build-configs.
|
# Do not edit this file. It is automatically generated by https://www.oliverdavies.uk/build-configs.
|
||||||
|
|
||||||
/output_*/
|
/*
|
||||||
/vendor/
|
|
||||||
|
|
||||||
/.direnv/
|
!/.gitignore
|
||||||
|
!/app/
|
||||||
|
!/build.yaml
|
||||||
|
!/composer.{json,lock}
|
||||||
|
!/run.local
|
||||||
|
!/source/
|
||||||
|
|
||||||
|
!/flake.{nix,lock}
|
||||||
|
|
||||||
/node_modules/
|
|
||||||
/source/build/
|
/source/build/
|
||||||
|
!/assets/
|
||||||
|
!/data/
|
||||||
|
!/package.json
|
||||||
|
!/pnpm-lock.yaml
|
||||||
|
!/stub.md
|
||||||
|
|
|
@ -12,8 +12,13 @@ flake:
|
||||||
|
|
||||||
git:
|
git:
|
||||||
ignore:
|
ignore:
|
||||||
- /node_modules/
|
- '/source/build/'
|
||||||
- /source/build/
|
- '!/assets/'
|
||||||
|
- '!/data/'
|
||||||
|
- '!/package.json'
|
||||||
|
- '!/pnpm-lock.yaml'
|
||||||
|
- '!/stub.md'
|
||||||
|
|
||||||
experimental:
|
experimental:
|
||||||
|
createInclusiveGitIgnoreFile: true
|
||||||
createTmuxStartupFile: true
|
createTmuxStartupFile: true
|
||||||
|
|
Loading…
Reference in a new issue