package
1.53.0
Repository: https://gitlab.com/gitlab-org/cli.git
Documentation: pkg.go.dev

# Functions

AddRemote adds a new git remote and auto-fetches objects from it.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
CurrentBranch reads the checked-out branch for the git repository.
No description provided by the author
No description provided by the author
No description provided by the author
DescribeByTags gives a description of the current object.
No description provided by the author
GetConfig returns the local config value associated with the provided key.
No description provided by the author
GetDefaultBranch finds and returns the remote's default branch.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
IsValidUrl tests a string to determine if it is a valid Git url or not.
No description provided by the author
ListTags gives a slice of tags from the current repository.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ParseSSHConfig constructs a map of SSH hostname aliases based on user and system configuration files.
ParseURL normalizes git remote urls.
Push publishes a git ref to a remote.
ReadBranchConfig parses the `branch.BRANCH.(remote|merge)` part of git config.
Remotes gets the git remotes set for the current repo.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SetUpstream sets the upstream (tracking) of a branch.
ShowRefs resolves fully-qualified refs to commit hashes.
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author

# Variables

ErrNotOnAnyBranch indicates that the user is in detached HEAD state.
No description provided by the author
No description provided by the author
No description provided by the author
ToplevelDir returns the top-level directory path of the current repository.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
Ref represents a git commit reference.
Remote is a parsed git remote.
Stack represents a stacked diff data structure.
No description provided by the author
No description provided by the author
TrackingRef represents a ref for a remote tracking branch.

# Interfaces

No description provided by the author

# Type aliases

RemoteSet is a slice of git remotes.
SSHAliasMap encapsulates the translation of SSH hostname aliases.