Documentation
¶
Index ¶
- func Handle(args []string) error
- func IncrementTag(tag string) (string, error)
- func ShowChildren(dir string, commit string) ([]string, error)
- func ShowCurrentBranch(dir string) (string, error)
- func ShowHeadCommitHash(dir string) (string, error)
- func ShowHeadTag(dir string) (string, error)
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IncrementTag ¶ added in v0.0.106
func ShowChildren ¶
reference: https://git-scm.com/docs/pretty-formats %H: commit hash %P: parent commit hash
func ShowCurrentBranch ¶
func ShowHeadCommitHash ¶
func ShowHeadTag ¶
use `git describe --tags HEAD` to show the tag NOTE: though `git tag -l --points-at HEAD` works for tagged commits, we use `git describe --tags HEAD`, which works for both tagged and untagged commits
Types ¶
Click to show internal directories.
Click to hide internal directories.