Expand description
Git functionalities
Under the hood, this crate uses the git2
crate. It wraps it to provide a higher-level API.
Structs
- A commit
- A git tag
Constants
- Config key for the user email
- Config key for the user name
Functions
- Runs
git add --all
- Returns the complete commit history
- Performs a commit to the head
- Discovers the repo at or above the provided path
- Returns the repo config
- Retrieves the repo origin url
- Retrieves all the repo tag references
- Retrieves all the repo tags (lightweight and annotated)
- Performs a push
- Checks if the repo is clean, ie has no uncommited and untracked files
- Sets an annotated tag to the HEAD
Type Definitions
- A more user-friendly config object
- A simple alias for git2::Repository
- Status of a file
- Status show option