git

package
v1.0.45 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchRef added in v1.0.36

func FetchRef(dir string, origin string, ref string) error

func GetCurrentBranch added in v1.0.36

func GetCurrentBranch(dir string) (string, error)

func GetGitDir

func GetGitDir(dir string) (string, error)

when multiple worktree exists, this denotes to the only one .git

func ShowTopLevel

func ShowTopLevel(dir string) (string, error)

worktree root

Types

This section is empty.

Jump to

Keyboard shortcuts

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