Documentation
¶
Overview ¶
git rev-parse [ --option ] <args>...
Index ¶
- func AbbrevRef(mode string) func(*types.Cmd)
- func AbsoluteGitDir(g *types.Cmd)
- func After(date string) func(*types.Cmd)
- func All(g *types.Cmd)
- func Args(args ...string) func(*types.Cmd)
- func Before(date string) func(*types.Cmd)
- func Branches(pattern string) func(*types.Cmd)
- func Disambiguate(prefix string) func(*types.Cmd)
- func Exclude(globPattern string) func(*types.Cmd)
- func GitCommonDir(g *types.Cmd)
- func GitDir(g *types.Cmd)
- func Glob(pattern string) func(*types.Cmd)
- func IsBareRepository(g *types.Cmd)
- func IsInsideGitDir(g *types.Cmd)
- func IsInsideWorkTree(g *types.Cmd)
- func KeepDashdash(g *types.Cmd)
- func LocalEnvVars(g *types.Cmd)
- func NoFlags(g *types.Cmd)
- func NoRevs(g *types.Cmd)
- func Parseopt(g *types.Cmd)
- func Remotes(pattern string) func(*types.Cmd)
- func RevsOnly(g *types.Cmd)
- func SharedIndexPath(g *types.Cmd)
- func Short(number string) func(*types.Cmd)
- func ShowCdup(g *types.Cmd)
- func ShowPrefix(g *types.Cmd)
- func ShowSuperprojectWorkingTree(g *types.Cmd)
- func ShowToplevel(g *types.Cmd)
- func Since(date string) func(*types.Cmd)
- func SqQuote(g *types.Cmd)
- func StopAtNonOption(g *types.Cmd)
- func StuckLong(g *types.Cmd)
- func SymbolicFullName(g *types.Cmd)
- func Tags(pattern string) func(*types.Cmd)
- func Until(date string) func(*types.Cmd)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AbsoluteGitDir ¶
func Disambiguate ¶
func GitCommonDir ¶
func IsBareRepository ¶
func IsInsideGitDir ¶
func IsInsideWorkTree ¶
func KeepDashdash ¶
func LocalEnvVars ¶
func SharedIndexPath ¶
func ShowPrefix ¶
func ShowToplevel ¶
func SqQuote ¶
Use git rev-parse in shell quoting mode (see SQ-QUOTE section below). In contrast to the --sq option below, this mode does only quoting. Nothing else is done to command input. --sq-quote
func StopAtNonOption ¶
func SymbolicFullName ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.