Skip to content

gtl commit

Stage all changes and create a commit with a provided, positional, or default message

Aliases

c, cm

Usage

bash
gtl commit [message...] [flags]
gtl commit [command]

Subcommands

CommandDescription
gtl commit searchSearch commits

Examples

bash
gtl commit "feat: add search"
gtl cm "fix typo"
gtl commit -m "chore: cleanup" --push
gtl cm search "oauth"

Full Help

text
Stage all changes and create a commit with a provided, positional, or default message

Usage:
  gtl commit [message...] [flags]
  gtl commit [command]

Aliases:
  commit, c, cm

Examples:
gtl commit "feat: add search"
gtl cm "fix typo"
gtl commit -m "chore: cleanup" --push
gtl cm search "oauth"

Available Commands:
  search      Search commits

Flags:
  -h, --help             help for commit
  -m, --message string   Use provided commit message
      --no-verify        Skip git hooks
  -p, --push             Push after committing

Use "gtl commit [command] --help" for more information about a command.

Released under the MIT License.