Documentation
¶
Overview ¶
Package git implements git wrappers.
Index ¶
Constants ¶
View Source
const Date = "Mon Jan _2 15:04:05 2006 -0700"
Date defines the layout of git dates useful for time.Parse.
Variables ¶
This section is empty.
Functions ¶
func GetHead ¶
GetHead returns the commit and date of the git HEAD in the directory dir. If dir is nil, the current working directory of the calling binary is used.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.