Documentation
¶
Overview ¶
Package git provides git repository operations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchTags ¶ added in v1.0.1
func FetchTags() error
FetchTags fetches tags from the remote so locally-missing tags (e.g. tags created by CI) are available for git log.
func FindRepoRoot ¶
FindRepoRoot walks up from the current directory to find the git repository root.
func GetCommitDetails ¶
GetCommitDetails returns detailed commit information between two refs. Each commit includes: full hash, full message (header + body), and list of changed files.
func GetCommitDetailsFromRoot ¶
GetCommitDetailsFromRoot returns detailed commit information from root to the given ref.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.