git

package
v0.0.0-...-4d27c9e Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2016 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

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

func ResolveRef(ref string) (string, error)

func UpdateIndex

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