gitconfig

package
v3.8.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2024 License: Apache-2.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiscoverUpstreamGitURL

func DiscoverUpstreamGitURL(gitConf string, preferUpstream bool) (string, error)

DiscoverUpstreamGitURL discovers the upstream git URL from the given git configuration

func GetRemoteUrl

func GetRemoteUrl(config *gitcfg.Config, name string) string

GetRemoteUrl returns the remote URL from the given git config

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL