Git Complete Reference Index
Select any item below to open its full syntax specification, parameters, and live example.
File format
.gitattributespattern attribute [attribute ...]
Assigns path attributes, including text normalization and checkout line endings. Existing files may need reviewed renormalization; avoid applying text normalization to binary files.
.gitignorepattern
!exception
Per-directory ignore patterns apply to intentionally untracked paths. Later matching rules at the same precedence level win; an excluded parent prevents re-inclusion of its children. Tracked files remain tracked.
.gitmodulesgit show HEAD:.gitmodules
Tracked submodule paths and source configuration.
CODEOWNERS file.github/CODEOWNERS
Maps path patterns to eligible users or teams; later matches win. Base branch file and rules determine review behavior.
Concept
API error classificationstatus + headers + body
Distinguish authentication, authorization, rate, input and transient failures before choosing a response.
API least privilegeendpoint permissions
Use only the approved access needed for the operation.
Annotated taggit tag -a NAME -m MESSAGE [OBJECT]
A tag ref points to a tag object holding target and annotation metadata. It can be signed, but annotation alone does not imply signing.
Authentication and authorizationIdentity → permissions
Authentication establishes identity; authorization controls permitted actions.
Backportgit cherry-pick -x COMMIT
Adapt a selected change to an older maintained version; record provenance and verify target behavior.
Blame porcelaingit blame --line-porcelain -- PATH
Per-line attribution metadata suitable for tooling.
Branch protectionrepository policy
Hosted restrictions on integration and branch updates, subject to configured rules and roles.
CHERRY_PICK_HEADgit show CHERRY_PICK_HEAD
Identify the stopped source commit in an ordinary committing cherry-pick.
concept
Access reviewpurpose + owner + effective grants + evidence
Periodic review of necessary access and lifecycle changes.
Actions SHA pinninguses: owner/action@FULL_SHA
Select a reviewed action revision; pinning alone is not a security guarantee.
Actions contextgithub.event_name
Structured information available in supported workflow fields.
Actions expression${{ expression }}
Evaluated by Actions in supported fields, distinct from shell expansion.
Actions runnerruns-on
Executes the steps of a job in its assigned environment.
Artifact attestationgh attestation verify
Signed artifact-related claim requiring cryptographic and identity verification.
Audit logactor + action + target + time
Selected recorded events; scope and retention vary.
Build provenancesource + build identity + subject digest
Evidence describing how an artifact was built, not proof of software quality.
Showing 20 of 356 entries