checkout

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: 10

Documentation

Overview

Checkout https://git-scm.com/docs/git-checkout git checkout [-q] [-f] [-m] [<branch>] git checkout [-q] [-f] [-m] --detach [<branch>] git checkout [-q] [-f] [-m] [--detach] <commit> git checkout [-q] [-f] [-m] [[-b|-B|--orphan] <new_branch>] [<start_point>] git checkout [-f|--ours|--theirs|-m|--conflict=<style>] [<tree-ish>] [--] <paths>…​ git checkout [-p|--patch] [<tree-ish>] [--] [<paths>…​] --quiet --[no-]progress --force --ours --theirs -b <new_branch> -B <new_branch> --track --no-track -l --detach --orphan <new_branch> --ignore-skip-worktree-bits --merge --conflict=<style> --patch --ignore-other-worktrees --[no-]recurse-submodules <branch> <new_branch> <start_point> <tree-ish>

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Branch

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

func Conflict added in v0.6.0

func Conflict(style string) func(*types.Cmd)

Conflict --conflict=<style>

func Detach

func Detach(g *types.Cmd)

func Force

func Force(g *types.Cmd)

func IgnoreOtherWorktrees

func IgnoreOtherWorktrees(g *types.Cmd)

func IgnoreSkipWorktreeBits

func IgnoreSkipWorktreeBits(g *types.Cmd)

func Merge

func Merge(g *types.Cmd)

func NewBranch

func NewBranch(g *types.Cmd)

func NewBranchForce

func NewBranchForce(g *types.Cmd)

func NoProgress

func NoProgress(g *types.Cmd)

func NoRecurseSubmodules

func NoRecurseSubmodules(g *types.Cmd)

func NoTrack

func NoTrack(g *types.Cmd)

func Orphan

func Orphan(branch string) func(*types.Cmd)

func Ours

func Ours(g *types.Cmd)

func Patch

func Patch(g *types.Cmd)

func Progress

func Progress(g *types.Cmd)

func Quiet

func Quiet(g *types.Cmd)

func RecurseSubmodules

func RecurseSubmodules(g *types.Cmd)

func StartPoint added in v0.5.0

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

func Theirs

func Theirs(g *types.Cmd)

func Track

func Track(g *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