THE GITHTML FIELD GUIDE
Keep a README license statement consistent with repository files
Link the README's license section to the repository's authoritative license material and check that other labels agree with it. Do not infer permission from public visibility or copy a license name from a badge. Resolve conflicting notices with the project owner or qualified counsel; a documentation edit should accurately reflect the chosen terms, not choose them accidentally.
Inventory the places that describe licensing
Look at the license file, README statement, package metadata, badges, source headers, and any notices covering bundled assets. Record discrepancies instead of selecting the most permissive-looking label. A repository may contain material with different terms, so one short badge may not describe every file. This guide concerns documentation consistency, not legal interpretation or license selection. If no clear authoritative notice exists, ask the responsible owner before publishing a confident summary. Public access to source is not a substitute for an explicit permission statement. Keep the scope of each notice visible, especially when documentation and code are maintained under different terms.
Write a narrow, accurate README statement
The sample links to a license file without attempting to paraphrase its legal effect. Replace the path with the actual authoritative location and name the license only after confirming the exact identifier and version where relevant. If separate notices apply to third-party assets, link those notices as well. Avoid phrases such as free for any use unless the owner has approved that wording and it accurately reflects the terms. Do not silently replace an existing license file to make it match a README sentence. Correcting descriptive text and changing the project's license are materially different actions with different authority requirements.
## License
See [LICENSE](LICENSE) for the project's license terms.
See [third-party notices](THIRD_PARTY_NOTICES.md) for separately identified material.Check rendered links and release packaging
Follow the README link from the repository and from any distributed package where the README appears. Confirm that the target file accompanies the release or that the link intentionally reaches a stable published notice. Review badges and package metadata for stale identifiers after an approved licensing change. Preserve required attribution and third-party notices according to the project's established process. When uncertain, mark the documentation issue for owner review rather than inventing a resolution. A small consistency checklist can prevent contradictory labels, but it cannot establish that all legal obligations have been satisfied. Keep that limitation explicit when handing the review to maintainers.
- Inventory all license labels and notices before editing the README summary.
- Confirm the authoritative terms with the project owner when files disagree.
- Link the actual notice and avoid an unreviewed legal paraphrase.
- Check that release packaging includes the referenced material and required separate notices.
Sources and further reading
AI-assisted writing with source-linked guidance and illustrative examples. Read our editorial approach or report a correction.