Documentation
¶
Overview ¶
Package git starts the git found in PATH, the one the user already runs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Command ¶
Command prepares git with args in dir; every git deadvalues starts goes through here.
func Line ¶ added in v0.1.8
Line is the output of git args in dir, trimmed and cached, or "" when git fails.
func Origin ¶ added in v0.1.8
Origin is the URL of the origin remote of the checkout at dir, or "" without one.
func SameRepository ¶ added in v0.1.8
SameRepository reports whether two git URLs name one repository, in https, ssh or scp form.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.