git

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2015 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(repo, refspec string) (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