Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MarkCmd = &cobra.Command{ Use: "mark", Short: "tools to create/revert/retag commit marks using a lightweight tag", FParseErrWhitelist: cobra.FParseErrWhitelist{UnknownFlags: true}, } MarkArgs = MarkArguments{} )
View Source
var ( MarkCreateCmd = &cobra.Command{ Use: "create", Short: "Mark current commit with given tag name. optionally commit local changes before mark", FParseErrWhitelist: cobra.FParseErrWhitelist{UnknownFlags: true}, RunE: RunCreateMark, } MarkCreateArgs = MarkCreateArguments{ CommitMsg: "changes for git tagging", } )
View Source
var ( MarkReTagCmd = &cobra.Command{ Use: "retag", Short: "mark current commit as a lightweight tag", FParseErrWhitelist: cobra.FParseErrWhitelist{UnknownFlags: true}, RunE: RunReTagMark, } MarkReTagArgs = MarkReTagArguments{} )
View Source
var ( MarkRevertCmd = &cobra.Command{ Use: "revert", Short: "revert to the commit marked by given tag, without changing current branch", FParseErrWhitelist: cobra.FParseErrWhitelist{UnknownFlags: true}, RunE: RunRevertMark, } MarkRevertArgs = MarkRevertArguments{} )
View Source
var ( Cmd = &cobra.Command{ Use: "git", Short: "Git plumbing tools", FParseErrWhitelist: cobra.FParseErrWhitelist{UnknownFlags: true}, } )
Functions ¶
Types ¶
type MarkArguments ¶
type MarkArguments struct {
MarkTag string `` /* 133-byte string literal not displayed */
}
type MarkCreateArguments ¶
type MarkReTagArguments ¶
type MarkReTagArguments struct {
SourceTag string `flag:"src-tag,s" desc:"the source tag name the re-tagging is based off. If not provided, current HEAD is used"`
}
type MarkRevertArguments ¶
type MarkRevertArguments struct {
DiscardLocal bool `flag:"force-discard-changes,f" desc:"when set, local changes are discarded"`
}
Click to show internal directories.
Click to hide internal directories.