Documentation
      ¶
    
    
  
    
  
    Overview ¶
Package remote git-remote - Manage set of tracked repositories
SYNOPSIS
git remote [-v | --verbose] git remote add [-t <branch>] [-m <master>] [-f] [--[no-]tags] [--mirror=<fetch|push>] <name> <url> git remote rename <old> <new> git remote remove <name> git remote set-head <name> (-a | --auto | -d | --delete | <branch>) git remote set-branches [--add] <name> <branch>... git remote get-url [--push] [--all] <name> git remote set-url [--push] <name> <newurl> [<oldurl>] git remote set-url --add [--push] <name> <newurl> git remote set-url --delete [--push] <name> <url> git remote [-v | --verbose] show [-n] <name>... git remote prune [-n | --dry-run] <name>... git remote [-v | --verbose] update [-p | --prune] [(<group> | <remote>)...]
DESCRIPTION ¶
Manage the set of repositories ("remotes") whose branches you track.
Index ¶
- func Add(name, url string) func(*types.Cmd)
 - func AddOpt(g *types.Cmd)
 - func All(g *types.Cmd)
 - func Auto(g *types.Cmd)
 - func Delete(g *types.Cmd)
 - func DryRun(g *types.Cmd)
 - func Fetch(g *types.Cmd)
 - func GetURL(name string) func(*types.Cmd)
 - func Master(symRef string) func(*types.Cmd)
 - func Mirror(option string) func(*types.Cmd)
 - func NoTags(g *types.Cmd)
 - func Prune(names ...string) func(*types.Cmd)
 - func PruneOpt(g *types.Cmd)
 - func Push(g *types.Cmd)
 - func Remove(name string) func(*types.Cmd)
 - func Rename(oldName, newName string) func(*types.Cmd)
 - func SetBranches(name, branch string) func(*types.Cmd)
 - func SetHead(name string) func(*types.Cmd)
 - func SetURL(name, newurl, oldurl string) func(*types.Cmd)
 - func Show(names ...string) func(*types.Cmd)
 - func Tags(g *types.Cmd)
 - func Track(branch string) func(*types.Cmd)
 - func Verbose(g *types.Cmd)
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Add ¶
Add git remote add [-t <branch>] [-m <master>] [-f] [--[no-]tags] [--mirror=<fetch|push>] <name> <url>
func SetBranches ¶ added in v0.8.0
SetBranches git remote set-branches [--add] <name> <branch>…
func SetHead ¶ added in v0.8.0
SetHead git remote set-head <name> (-a | --auto | -d | --delete | <branch>)
func SetURL ¶ added in v0.8.0
SetURL git remote set-url [--push] <name> <newurl> [<oldurl>] git remote set-url --add [--push] <name> <newurl> git remote set-url --delete [--push] <name> <url>
Types ¶
This section is empty.
 Click to show internal directories. 
   Click to hide internal directories.