Module git2_ext::ops

source ·
Expand description

Higher-level git operations

These are closer to what you expect to see for porcelain commands, rather than just plumbing. They serve as both examples on how to use git2 but also should be usable in some limited subset of cases.

Structs

Traits

Functions

  • Lookup the configured author’s signature
  • Cherry pick a commit onto another without touching the working directory
  • Commit with signing support
  • Lookup the configured committer’s signature
  • Lookup the branch that HEAD points to
  • Lookup the commit ID for HEAD
  • Report if the working directory is dirty
  • Reword head_ids commit
  • Squash head_id into into_id without touching the working directory