Documentation
¶
Overview ¶
Package gitutil wraps the few git operations jt needs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotARepo = errors.New("not inside a git repository")
ErrNotARepo is returned outside a git work tree.
Functions ¶
func BranchExists ¶
BranchExists reports whether a local branch exists.
func CurrentBranch ¶
CurrentBranch returns the checked-out branch name.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.