push

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

Documentation

Overview

Push https://git-scm.com/docs/git-push git push [--all | --mirror | --tags] [--follow-tags] [--atomic] [-n | --dry-run] [--receive-pack=<git-receive-pack>]

[--repo=<repository>] [-f | --force] [-d | --delete] [--prune] [-v | --verbose]
[-u | --set-upstream] [--push-option=<string>]
[--[no-]signed|--sign=(true|false|if-asked)]
[--force-with-lease[=<refname>[:<expect>]]]
[--no-verify] [<repository> [<refspec>...]]

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All

func All(g *types.Cmd)

func Atomic

func Atomic(g *types.Cmd)

func Delete

func Delete(g *types.Cmd)

func DryRun

func DryRun(g *types.Cmd)

func FollowTags

func FollowTags(g *types.Cmd)

func Force

func Force(g *types.Cmd)

func ForceWithLease

func ForceWithLease(g *types.Cmd)

func Mirror

func Mirror(g *types.Cmd)

func Prune

func Prune(g *types.Cmd)

func PushOption

func PushOption(option string) func(*types.Cmd)

func ReceivePack

func ReceivePack(gitReceivePack string) func(*types.Cmd)

func RefSpec

func RefSpec(refspec string) func(*types.Cmd)

func Remote

func Remote(repository string) func(*types.Cmd)

func Repo

func Repo(repository string) func(*types.Cmd)

func SetUpstream

func SetUpstream(g *types.Cmd)

func Tags

func Tags(g *types.Cmd)

func Verbose

func Verbose(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