Documentation
¶
Overview ¶
git has functions for interacting with git remotes
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFile ¶
GetFile fetches a file from a git repository at a specific commit. Works with GitHub and GitLab repositories.
func GetLatestCommit ¶
GetLatestCommit returns the latest commit hash from a git URL.
Trims the commit hash to 10 characters.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.