Documentation
¶
Overview ¶
Fetch https://git-scm.com/docs/git-fetch git fetch [<options>] [<repository> [<refspec>…]] git fetch [<options>] <group> git fetch --multiple [<options>] [(<repository> | <group>)…] git fetch --all [<options>] --all --append --depth=<depth> --deepen=<depth> --shallow-since=<date> --shallow-exclude=<revision> --unshallow --update-shallow --dry-run --force --keep --multiple --prune --no-tags --refmap=<refspec> --tags --recurse-submodules[=yes|on-demand|no] --jobs=<n> --no-recurse-submodules --submodule-prefix=<path> --recurse-submodules-default=[yes|on-demand] --update-head-ok --upload-pack <upload-pack> --quiet --verbose --progress --ipv4 --ipv6
<repository> <group> <refspec>
Index ¶
- func All(g *types.Cmd)
- func Append(g *types.Cmd)
- func Deepen(depth string) func(*types.Cmd)
- func Depth(depth string) func(*types.Cmd)
- func DryRun(g *types.Cmd)
- func Force(g *types.Cmd)
- func Group(name string) func(*types.Cmd)
- func IPv4(g *types.Cmd)
- func IPv6(g *types.Cmd)
- func Jobs(n string) func(*types.Cmd)
- func Keep(g *types.Cmd)
- func Multiple(g *types.Cmd)
- func NoRecurseSubmodules(g *types.Cmd)
- func NoTags(g *types.Cmd)
- func Progress(g *types.Cmd)
- func Prune(g *types.Cmd)
- func Quiet(g *types.Cmd)
- func RecurseSubmodules(option string) func(*types.Cmd)
- func RecurseSubmodulesDefault(option string) func(*types.Cmd)
- func RefMap(refspec string) func(*types.Cmd)
- func RefSpec(ref string) func(*types.Cmd)
- func Remote(name string) func(*types.Cmd)
- func ShallowExclude(revision string) func(*types.Cmd)
- func ShallowSince(date string) func(*types.Cmd)
- func SubmodulePrefix(path string) func(*types.Cmd)
- func Tags(g *types.Cmd)
- func Unshallow(g *types.Cmd)
- func UpdateShallow(g *types.Cmd)
- func UploadPack(pack string) func(*types.Cmd)
- func Verbose(g *types.Cmd)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NoRecurseSubmodules ¶
func RecurseSubmodules ¶
func ShallowExclude ¶
func ShallowSince ¶
func SubmodulePrefix ¶
func UpdateShallow ¶
func UploadPack ¶
Types ¶
This section is empty.