Documentation
¶
Index ¶
- func GitCheckoutBranch(projectPath, branchName, remote string) error
- func GitCheckoutBranchLocal(projectPath, branchName string) error
- func GitCheckoutRef(projectPath, reference string) error
- func GitCloneProject(repoUrl, defaultRemoteName, destPath string) error
- func GitFetchRemote(projectPath, remote string) error
- func GitResetProject(projectPath string) error
- func GitSetTrackingRemoteBranch(projectPath, branchName, remote string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GitCheckoutBranch ¶ added in v0.12.0
func GitCheckoutBranchLocal ¶ added in v0.14.0
func GitCheckoutRef ¶ added in v0.12.0
func GitCloneProject ¶
GitCloneProject constructs a command-line string for cloning a git project, and delegates execution to the os/exec package.
func GitFetchRemote ¶ added in v0.8.0
func GitResetProject ¶ added in v0.8.0
GitResetProject runs `git reset --hard` in the project specified by projectPath
func GitSetTrackingRemoteBranch ¶ added in v0.14.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.