Documentation ¶
Index ¶
- Constants
- func ChangedFilesExist() (uncommitedFiles string, exist bool)
- func DeleteBranchesLocal(strs *[]string)
- func DeleteBranchesRemote(brs []string)
- func Dev(branch string, comments []string)
- func DevShort(branch string, comments []string)
- func Download(cfg vcs.CfgDownload)
- func Fork() (repo string, err error)
- func GetCurrentBranchName() string
- func GetGoneBranchesLocal() *[]string
- func GetMainBranch() string
- func GetMergedBranchList() (brlist []string, err error)
- func GetNoteAndURL(notes []string) (note string, url string)
- func GetNotes() (notes []string, result bool)
- func GetNotesObj() (notes []string, result bool)
- func GetParentRepoName() (name string)
- func GetRemoteUpstreamURL() string
- func GetRepoAndOrgName() (repo string, org string)
- func Gui()
- func IsBranchInMain() bool
- func IsMainOrg() bool
- func MakePR(notes []string) (err error)
- func MakePRMerge(prurl string) (err error)
- func MakeUpstream(repo string)
- func PopStashedFiles()
- func Release()
- func Status(cfg vcs.CfgStatus)
- func Upload(cfg vcs.CfgUpload)
Constants ¶
View Source
const (
PushDefaultMsg = "misc"
)
Variables ¶
This section is empty.
Functions ¶
func ChangedFilesExist ¶ added in v1.17.0
ChangedFilesExist s.e.
func DeleteBranchesLocal ¶ added in v1.14.0
func DeleteBranchesLocal(strs *[]string)
DeleteBranchesLocal s.e.
func DeleteBranchesRemote ¶ added in v1.14.0
func DeleteBranchesRemote(brs []string)
DeleteBranchesRemote delete branch list
func GetCurrentBranchName ¶ added in v1.20.0
func GetCurrentBranchName() string
func GetGoneBranchesLocal ¶ added in v1.14.0
func GetGoneBranchesLocal() *[]string
GetGoneBranchesLocal returns gone local branches
func GetMainBranch ¶ added in v1.20.0
func GetMainBranch() string
func GetMergedBranchList ¶ added in v1.11.0
GetMergedBranchList returns merged user's branch list
func GetNoteAndURL ¶ added in v1.17.0
func GetNotesObj ¶ added in v1.17.0
GetNotesObj s.e.
func GetParentRepoName ¶ added in v1.11.0
func GetParentRepoName() (name string)
GetParentRepoName - parent repo of forked
func GetRemoteUpstreamURL ¶ added in v1.5.0
func GetRemoteUpstreamURL() string
func GetRepoAndOrgName ¶ added in v1.6.0
GetRepoAndOrgName - from .git/config
func IsBranchInMain ¶ added in v1.14.0
func IsBranchInMain() bool
IsBranchInMain Is my branch in main org?
func MakePRMerge ¶ added in v1.17.0
MakePRMerge merges Pull Request by URL
func PopStashedFiles ¶ added in v1.16.0
func PopStashedFiles()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.