Documentation
¶
Index ¶
- func AddWorktree(repoRoot, path, branch string) error
- func Fetch(repoRoot string) error
- func FindRepoRoot() (string, error)
- func FindRepoRootFrom(dir string) (string, error)
- func GetDefaultBranch(repoRoot string) (string, error)
- func GetRemoteURL(repoRoot string) (string, error)
- func HasRemote(repoRoot, name string) bool
- func IsDirty(worktreePath string) (bool, error)
- func RemoveWorktree(repoRoot, path string) error
- func ResetWorktree(worktreePath, branch string) error
- func ShortHash(s string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddWorktree ¶
func FindRepoRoot ¶
func FindRepoRootFrom ¶ added in v1.2.0
func GetDefaultBranch ¶
func GetRemoteURL ¶
func RemoveWorktree ¶
func ResetWorktree ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.