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§
- author_
signature - Lookup the configured author’s signature
- cherry_
pick - Cherry pick a commit onto another without touching the working directory
- commit
- Commit with signing support
- commit_
signature - Lookup the configured committer’s signature
- head_
branch - Lookup the branch that HEAD points to
- head_id
- Lookup the commit ID for
HEAD - is_
dirty - Report if the working directory is dirty
- reword
- Reword
head_ids commit - squash
- Squash
head_idintointo_idwithout touching the working directory