git

package
v0.5.4-homebrew Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2015 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package git contains various commands that shell out to git

Package git contains various commands that shell out to git

Index

Constants

This section is empty.

Variables

View Source
var Config = &gitConfig{}

Functions

func CurrentBranch

func CurrentBranch() (string, error)

func CurrentRef

func CurrentRef() (string, error)

func CurrentRemote

func CurrentRemote() (string, error)

func CurrentRemoteRef

func CurrentRemoteRef() (string, error)

func LsRemote

func LsRemote(remote, remoteRef string) (string, error)

func ResolveRef added in v0.5.2

func ResolveRef(ref string) (string, error)

func UpdateIndex added in v0.5.2

func UpdateIndex(file 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