git

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2017 License: Unlicense Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IsHub bool

Functions

func CommentChar

func CommentChar() string

func CurrentBranch

func CurrentBranch() (string, error)

func Edit

func Edit(filePrefix, message string) (string, string, error)

func GitDir

func GitDir() (string, error)

func LastCommitMessage

func LastCommitMessage() (string, error)

func Log

func Log(sha1, sha2 string) (string, error)

func New

func New(args ...string) *exec.Cmd

func PathWithNameSpace

func PathWithNameSpace(remote string) (string, error)

func RemoteAdd

func RemoteAdd(name, url string) error

func RepoName

func RepoName() (string, error)

func WorkingDir

func WorkingDir() (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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