Documentation ¶
Index ¶
- func Add(dir string, files []string) error
- func Checkout(dir, branch string) error
- func Commit(dir, message string) error
- func CreateBranch(dir, name string) error
- func EnsureCleanAndUpToDateWorkingCopy(dir string) error
- func GetCurrentBranch(dir string) (string, error)
- func GetCurrentCommit(dir string) (string, error)
- func GetDefaultBranch(dir string) (string, error)
- func GetUncommittedChanges(dir string) ([]string, error)
- func IsBranchInSyncWithRemote(dir string, branch string) (bool, error)
- func IsValid(dir string) bool
- func Pull(dir string, args ...string) error
- func Push(dir string, args ...string) error
- func PushNewBranch(dir, name string) error
- func Reset(dir string) error
- func Run(dir string, args []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateBranch ¶
func GetCurrentBranch ¶
func GetCurrentCommit ¶
func GetDefaultBranch ¶
func GetUncommittedChanges ¶
func PushNewBranch ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.