# Functions
Add is a wrapper function for "git add" command.
AddAll function is the wrapper of "git add ." command.
AddConfig adds an entry on the ConfigOptions field.
Checkout is a wrapper function for "git checkout" command.
Commit defines which commit command to use.
Config adds or reads config of a repository.
Diff is a wrapper function for "git diff" command Diff function returns the diff to previous commit detail of the given has of a specific commit.
DiffFile is a wrapper of "git diff" command for a file to compare with HEAD rev.
DiffStat shows current working status "git diff --stat".
DiffStatRefs shows diff stat of two refs "git diff a1b2c3..e4f5g6 --stat".
Fetch branches refs from one or more other repositories, along with the objects necessary to complete their histories.
Merge incorporates changes from the named commits or branches into the current branch.
PlainDiff shows current working status "git diff".
PlainStatus returns the plain status.
Pull incorporates changes from a remote repository into the current branch.
Reset is the wrapper of "git reset" command.
ResetAll resets the changes in a repository, should be used wise.
Return returns if we supposed to get return value as an int of a command this method can be used.
Run runs the OS command and return its output.
StashDiff shows diff of stash item "git show stash@{0}".
Status returns the dirty files.
# Constants
ConfigSiteGlobal defines a global config.
ConfigSiteLocal defines a local config.
ModeLegacy uses traditional git command line tool to operate.
ModeNative uses native implementation of given git command.
ResetHard Resets the index and working tree.
ResetKeep Resets index entries and updates files in the working tree that are different between <commit> and HEAD.
ResetMerge Resets the index and updates the files in the working tree that are different between <commit> and HEAD, but keeps those which are different between the index and working tree.
ResetMixed Resets the index but not the working tree (i.e., the changed files are preserved but not marked for commit) and reports what has not been updated.
ResetSoft Does not touch the index file or the working tree at all (but resets the head to <commit>.
# Structs
AddOptions defines the rules for "git add" command.
CheckoutOptions defines the rules of checkout command.
CommitOptions defines the rules for commit operation.
ConfigOptions defines the rules for commit operation.
FetchOptions defines the rules for fetch operation.
MergeOptions defines the rules of a merge operation.
PullOptions defines the rules for pull operation.
ResetOptions defines the rules of git reset command.
# Type aliases
ConfigSite defines a string type for the site.
Mode indicates that whether command should run native code or use git command to operate.
ResetType defines a string type for reset git command.