Documentation
¶
Index ¶
- Variables
- func CommitAndPush(r *git.Repository, msg string) (string, error)
- func CreateTag(repoURL, branch, tag, user string) error
- func DeleteBranch(repoURL, branch string) error
- func GetCurrentBranchFromRepository(r *git.Repository) (string, error)
- func PushToRemote(remoteURL, remoteBranch, targetURL, targetBranch, msg string) error
- func ReadRepoFile(r *git.Repository, path string) ([]byte, error)
- func ShallowClone(url string, branch string, depth int) (*git.Repository, error)
- func WriteRepoFile(r *git.Repository, path string, data []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var NoChangesError = fmt.Errorf("no changes")
Functions ¶
func CommitAndPush ¶
func DeleteBranch ¶ added in v0.3.11
func PushToRemote ¶ added in v0.3.11
func ReadRepoFile ¶
func ShallowClone ¶
func WriteRepoFile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.