Documentation
¶
Index ¶
- func Add() error
- func BranchDelete(name, remote string, deleteRemote, force bool) (string, error)
- func BranchDelivered(remote string) (localBranches []string, remoteBranches []string)
- func BranchReady(remote string, prefix string) (remoteBranches []string)
- func BranchRename(name string) error
- func BranchTime(name string) (int, error)
- func CheckOut(branch string) error
- func CheckoutNewBranchFromRemote(branch, defaultBranch string) error
- func Commit(message string) (string, error)
- func ConfigBranchRemote(branch string) string
- func ConfigGet(key, group string) string
- func ConfigSet(key, value, group string) error
- func ConfigUnset(key, group string) error
- func Fetch() error
- func FetchPrune() error
- func FormatPatch(buf *bytes.Buffer, remoteBranch string) (err error)
- func Merge(branch string) error
- func Pull() (string, error)
- func Push() (string, error)
- func PushRename(branch, defaultBranch string) (string, error)
- func RemoteBranch() (remote string)
- func Status() error
- func StatusPorcelain() (string, error)
- type BranchInfo
- type RemoteInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BranchDelete ¶ added in v1.0.0
BranchDelete ...
func BranchDelivered ¶ added in v1.0.0
BranchDelivered ...
func BranchReady ¶ added in v1.0.0
BranchReady ...
func CheckoutNewBranchFromRemote ¶
CheckoutNewBranchFromRemote ...
func FormatPatch ¶ added in v1.1.5
FormatPatch ... dry runs patch to see if we can auto merge
func RemoteBranch ¶
func RemoteBranch() (remote string)
func StatusPorcelain ¶ added in v1.1.5
StatusPorcelain ... generates behind and ahead status
Types ¶
type BranchInfo ¶
BranchInfo ...
type RemoteInfo ¶
RemoteInfo ...
func Remote ¶
func Remote() (*RemoteInfo, error)
Remote ... Must have either origin or upstream THIS NEEDS TO BE REVISITED
Click to show internal directories.
Click to hide internal directories.