Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Clone ¶
Clone shallow-clones a git repo to destDir and returns the short commit hash. If ref is empty, clones the default branch. The repo param accepts owner/repo shorthand or a full URL.
func RemoteHead ¶
RemoteHead returns the short commit hash of the remote HEAD (or ref) without cloning. Useful for checking if an update is available.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.