git

package
v0.9.6 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clone added in v0.9.0

func Clone(repo, dir string) error

Clone clone a repository form GitLab.

func CurrentBranch added in v0.9.0

func CurrentBranch() string

CurrentBranch returns current branch.

func CurrentRepo added in v0.9.0

func CurrentRepo() string

CurrentRepo returns current repo.

func Push added in v0.9.0

func Push(ref string) error

Push update remote refs along with associated objects

Types

This section is empty.

Jump to

Keyboard shortcuts

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