clone

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2017 License: Apache-2.0 Imports: 2 Imported by: 6

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bare

func Bare(g *types.Cmd)

func Branch

func Branch(name string) func(*types.Cmd)

func Depth

func Depth(depth string) func(*types.Cmd)

func Directory

func Directory(name string) func(*types.Cmd)

func Dissociate

func Dissociate(g *types.Cmd)

func Jobs

func Jobs(n string) func(*types.Cmd)

func Local

func Local(g *types.Cmd)

func Mirror

func Mirror(g *types.Cmd)

func NoCheckout

func NoCheckout(g *types.Cmd)
func NoHardlinks(g *types.Cmd)

func NoShallowSubmodules

func NoShallowSubmodules(g *types.Cmd)

func NoSingleBranch

func NoSingleBranch(g *types.Cmd)

func Origin

func Origin(name string) func(*types.Cmd)

func Quiet

func Quiet(g *types.Cmd)

func RecurseSubmodules

func RecurseSubmodules(g *types.Cmd)

func Repository

func Repository(url string) func(*types.Cmd)

func SeparateGitDir

func SeparateGitDir(gitDir string) func(*types.Cmd)

func ShallowSubmodules

func ShallowSubmodules(g *types.Cmd)

func Shared

func Shared(g *types.Cmd)

func SingleBranch

func SingleBranch(g *types.Cmd)

func Template

func Template(templateDirectory string) func(*types.Cmd)

func UploadPack

func UploadPack(name string) func(*types.Cmd)

Types

This section is empty.

Jump to

Keyboard shortcuts

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