The files in gist are intended to be reference files for quickly starting new repos
Last active
January 19, 2022 14:43
-
-
Save GingerGraham/1812ec96c46c18bc2ed4e114f2985950 to your computer and use it in GitHub Desktop.
Repo Start 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
| # ----------------------------------------------------------------- | |
| # .gitignore | |
| # Forked from below source | |
| # Bare Minimum Git | |
| # http://ironco.de/bare-minimum-git/ | |
| # ver 20181206 | |
| # | |
| # From the root of your project run | |
| # curl -O https://gist.githubusercontent.com/salcode/10017553/raw/.gitignore | |
| # to download this file | |
| # | |
| # This file is tailored for a general web project, it | |
| # is NOT optimized for a WordPress project. See | |
| # https://gist.github.com/salcode/b515f520d3f8207ecd04 | |
| # for a WordPress specific .gitignore | |
| # | |
| # This file specifies intentionally untracked files to ignore | |
| # http://git-scm.com/docs/gitignore | |
| # | |
| # NOTES: | |
| # The purpose of gitignore files is to ensure that certain files not | |
| # tracked by Git remain untracked. | |
| # | |
| # To ignore uncommitted changes in a file that is already tracked, | |
| # use `git update-index --assume-unchanged`. | |
| # | |
| # To stop tracking a file that is currently tracked, | |
| # use `git rm --cached` | |
| # | |
| # Change Log: | |
| # 20190705 ignore private/secret files | |
| # 20181206 remove trailing whitespaces | |
| # 20180714 unignore .phpcs.xml.dist | |
| # 20170502 unignore composer.lock | |
| # 20170502 ignore components loaded via Bower | |
| # 20150326 ignore jekyll build directory `/_site` | |
| # 20150324 Reorganized file to list ignores first and whitelisted last, | |
| # change WordPress .gitignore link to preferred gist, | |
| # add curl line for quick installation | |
| # ignore composer files (vendor directory and lock file) | |
| # 20140606 Add .editorconfig as a tracked file | |
| # 20140418 remove explicit inclusion | |
| # of readme.md (this is not an ignored file by default) | |
| # 20140407 Initially Published | |
| # | |
| # ----------------------------------------------------------------- | |
| # ignore all files starting with . or ~ | |
| .* | |
| ~* | |
| # ignore node/grunt dependency directories | |
| node_modules/ | |
| # ignore composer vendor directory | |
| /vendor | |
| # ignore components loaded via Bower | |
| /bower_components | |
| # ignore jekyll build directory | |
| /_site | |
| # ignore OS generated files | |
| ehthumbs.db | |
| Thumbs.db | |
| # ignore Editor files | |
| *.sublime-project | |
| *.sublime-workspace | |
| *.komodoproject | |
| *.code-workspace | |
| # ignore log files and databases | |
| *.log | |
| *.sql | |
| *.sqlite | |
| # ignore compiled files | |
| *.com | |
| *.class | |
| *.dll | |
| *.exe | |
| *.o | |
| *.so | |
| # ignore packaged files | |
| *.7z | |
| *.dmg | |
| *.gz | |
| *.iso | |
| *.jar | |
| *.rar | |
| *.tar | |
| *.zip | |
| # ignore private/secret files | |
| *.der | |
| *.key | |
| *.pem | |
| # Node artifact files | |
| node_modules/ | |
| dist/ | |
| # Compiled Java class files | |
| *.class | |
| # Compiled Python bytecode | |
| *.py[cod] | |
| # Log files | |
| *.log | |
| # Package files | |
| *.jar | |
| # Maven | |
| target/ | |
| dist/ | |
| # JetBrains IDE | |
| .idea/ | |
| # Unit test reports | |
| TEST*.xml | |
| # Generated by MacOS | |
| .DS_Store | |
| # Generated by Windows | |
| Thumbs.db | |
| # Applications | |
| *.app | |
| *.exe | |
| *.war | |
| # Large media files | |
| *.mp4 | |
| *.tiff | |
| *.avi | |
| *.flv | |
| *.mov | |
| *.wmv | |
| # ------------------------- | |
| # BEGIN AllowList Files | |
| # ------------------------- | |
| # track these files, if they exist | |
| !.gitignore | |
| !.editorconfig | |
| !.phpcs.xml.dist | |
| !.well-known |
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
| # This is an example of a code owners file | |
| # lines starting with a `#` will be ignored. | |
| # app/ @commented-rule | |
| # We can specify a default match using wildcards: | |
| * @default-codeowner | |
| # We can also specify "multiple tab or space" separated codeowners: | |
| * @multiple @code @owners | |
| # Rules defined later in the file take precedence over the rules | |
| # defined before. | |
| # This will match all files for which the file name ends in `.rb` | |
| *.rb @ruby-owner | |
| # Files with a `#` can still be accessed by escaping the pound sign | |
| \#file_with_pound.rb @owner-file-with-pound | |
| # Multiple codeowners can be specified, separated by spaces or tabs | |
| # In the following case the CODEOWNERS file from the root of the repo | |
| # has 3 code owners (@multiple @code @owners) | |
| CODEOWNERS @multiple @code @owners | |
| # Both usernames or email addresses can be used to match | |
| # users. Everything else will be ignored. For example this will | |
| # specify `@legal` and a user with email `[email protected]` as the | |
| # owner for the LICENSE file | |
| LICENSE @legal this_does_not_match [email protected] | |
| # Group names can be used to match groups and nested groups to specify | |
| # them as owners for a file | |
| README @group @group/with-nested/subgroup | |
| # Ending a path in a `/` will specify the code owners for every file | |
| # nested in that directory, on any level | |
| /docs/ @all-docs | |
| # Ending a path in `/*` will specify code owners for every file in | |
| # that directory, but not nested deeper. This will match | |
| # `docs/index.md` but not `docs/projects/index.md` | |
| /docs/* @root-docs | |
| # This will make a `lib` directory nested anywhere in the repository | |
| # match | |
| lib/ @lib-owner | |
| # This will only match a `config` directory in the root of the | |
| # repository | |
| /config/ @config-owner | |
| # If the path contains spaces, these need to be escaped like this: | |
| path\ with\ spaces/ @space-owner |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment