githandler

package
v0.1.0-beta Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add() error

Add ...

func BranchRename

func BranchRename(name string) error

BranchRename ...

func CheckOut

func CheckOut(branch string) error

CheckOut ...

func CheckoutNewBranchFromRemote

func CheckoutNewBranchFromRemote(branch, defaultBranch string) error

CheckoutNewBranchFromRemote ...

func Commit

func Commit(message string) (string, error)

Commit ...

func ConfigBranchRemote

func ConfigBranchRemote(branch string) string

ConfigBranchRemote ...

func ConfigGet

func ConfigGet(key, group string) string

ConfigGet ...

func ConfigSet

func ConfigSet(key, value, group string) error

ConfigSet ...

func Fetch

func Fetch() error

Fetch ...

func Merge

func Merge(branch string) error

Merge ...

func Pull

func Pull() (string, error)

Pull ...

func Push

func Push() (string, error)

Push ...

func PushRename

func PushRename(branch, defaultBranch string) (string, error)

PushRename ...

func Status

func Status() error

Status ...

Types

type BranchInfo

type BranchInfo struct {
	Current string
	List    []string
}

BranchInfo ...

func Branch

func Branch() (*BranchInfo, error)

Branch ...

type RemoteInfo

type RemoteInfo struct {
	Organisation string
	Repository   string
}

RemoteInfo ...

func Remote

func Remote() (*RemoteInfo, error)

Remote ...

Jump to

Keyboard shortcuts

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