shell

package
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2021 License: EPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GitCloneProject

func GitCloneProject(repoUrl, defaultRemoteName, destPath string) error

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 GitFetchRemote(projectPath, remote string) error

func GitResetProject added in v0.8.0

func GitResetProject(projectPath string) error

GitResetProject runs `git reset --hard` in the project specified by projectPath

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL