Documentation ¶
Overview ¶
Package git provides a very basic wrapper around git. Using git2go would be better but requires libgit2 to be installed This assumes git, however, is available.
Index ¶
- type Git
- func (g *Git) Add(files ...string) error
- func (g *Git) AddRemote(remoteName, remoteURL string) error
- func (g *Git) Commit(message string) error
- func (g *Git) Compress() error
- func (g *Git) Exists() bool
- func (g *Git) HasRemote(remote string) bool
- func (g *Git) Init() error
- func (g *Git) Push(remoteName, remoteURL, remoteUser, remotePassword string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.