Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHEAD ¶
If the repository is bare:
Return the reference of refs/remotes/origin/{branch} where {branch} is default branch
If the repository is non-bare:
Return the reference of current branch's HEAD
func SetUpstreamBranch ¶
func SetUpstreamBranch(r *git.Repository) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.