Documentation
¶
Overview ¶
Clone https://git-scm.com/docs/git-clone git clone [--template=<template_directory>]
[-l] [-s] [--no-hardlinks] [-q] [-n] [--bare] [--mirror] [-o <name>] [-b <name>] [-u <upload-pack>] [--reference <repository>] [--dissociate] [--separate-git-dir <git dir>] [--depth <depth>] [--[no-]single-branch] [--recurse-submodules] [--[no-]shallow-submodules] [--jobs <n>] [--] <repository> [<directory>]
Index ¶
- func Bare(g *types.Cmd)
- func Branch(name string) func(*types.Cmd)
- func Depth(depth string) func(*types.Cmd)
- func Directory(name string) func(*types.Cmd)
- func Dissociate(g *types.Cmd)
- func Jobs(n string) func(*types.Cmd)
- func Local(g *types.Cmd)
- func Mirror(g *types.Cmd)
- func NoCheckout(g *types.Cmd)
- func NoHardlinks(g *types.Cmd)
- func NoShallowSubmodules(g *types.Cmd)
- func NoSingleBranch(g *types.Cmd)
- func Origin(name string) func(*types.Cmd)
- func Quiet(g *types.Cmd)
- func RecurseSubmodules(g *types.Cmd)
- func Repository(url string) func(*types.Cmd)
- func SeparateGitDir(gitDir string) func(*types.Cmd)
- func ShallowSubmodules(g *types.Cmd)
- func Shared(g *types.Cmd)
- func SingleBranch(g *types.Cmd)
- func Template(templateDirectory string) func(*types.Cmd)
- func UploadPack(name string) func(*types.Cmd)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Dissociate ¶
func NoCheckout ¶
func NoHardlinks ¶
func NoShallowSubmodules ¶
func NoSingleBranch ¶
func RecurseSubmodules ¶
func Repository ¶
func SeparateGitDir ¶
func ShallowSubmodules ¶
func SingleBranch ¶
func UploadPack ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.