Documentation
¶
Index ¶
- func InitBare(t *testing.T, path string)
- type Repo
- func (r Repo) Add(subPath string)
- func (r Repo) BranchSetUpstreamTo(remote, remoteBranch, branch string)
- func (r Repo) BranchShowCurrent() string
- func (r Repo) Checkout(what string)
- func (r Repo) CheckoutBranch(name string)
- func (r Repo) Commit(message string)
- func (r Repo) Fetch()
- func (r Repo) Merge(what string)
- func (r Repo) Pull()
- func (r Repo) Push()
- func (r Repo) PushSetUpstream(upstream, branch string)
- func (r Repo) RemoteAdd(name, url string)
- func (r Repo) RemovePath(subPath string)
- func (r Repo) RemovePathAdd(subPath string)
- func (r Repo) Repo() git.Repo
- func (r Repo) RevParseHead() string
- func (r Repo) SetupCommitConfig()
- func (r Repo) WriteFile(subPath string, data string)
- func (r Repo) WriteFileAdd(subPath string, data string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Repo ¶
type Repo struct {
// contains filtered or unexported fields
}
func (Repo) BranchSetUpstreamTo ¶
func (Repo) BranchShowCurrent ¶
func (Repo) CheckoutBranch ¶
func (Repo) PushSetUpstream ¶
func (Repo) RemovePath ¶
func (Repo) RemovePathAdd ¶
func (Repo) RevParseHead ¶
func (Repo) SetupCommitConfig ¶
func (r Repo) SetupCommitConfig()
func (Repo) WriteFileAdd ¶
Click to show internal directories.
Click to hide internal directories.