package
0.12.0
Repository: https://github.com/lelandbatey/lab.git
Documentation: pkg.go.dev

# Functions

CommentChar returns active comment char and defaults to '#'.
CurrentBranch returns the currently checked out branch and strips away all but the branchname itself.
Edit opens a file in the users editor and returns the title and body.
GitDir returns the full path to the .git directory.
InsideGitRepo returns true when the current working directory is inside the working tree of a git repo.
IsRemote returns true when passed a valid remote in the git repo.
LastCommitMessage returns the last commits message as one line.
Log produces a formatted gitlog between 2 git shas.
New looks up the hub or git binary and returns a cmd which outputs to stdout.
PathWithNameSpace returns the owner/repository for the current repo Such as zaquestion/lab Respects GitLab subgroups (https://docs.gitlab.com/ce/user/group/subgroups/).
RemoteAdd both adds a remote and fetches it.
RepoName returns the name of the repository, such as "lab".
WorkingDir returns the full pall to the root of the current git repository.

# Variables

IsHub is true when using "hub" as the git binary.