Namespaces

Types in GitSharp.Commands

Type ResetCommand

Namespace GitSharp.Commands

Parent AbstractCommand

Properties

Public properties

string ActualDirectory get;

List<string> Arguments get; set;

string GitDirectory get; set;

bool Hard get; set;

Not implemented Matches the working tree and index to that of the tree being switched to. Any changes to tracked files in the working tree since are lost.

bool Merge get; set;

Not implemented Resets the index to match the tree recorded by the named commit, and updates the files that are different between the named commit and the current commit in the working tree.

bool Mixed get; set;

Not implemented 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. This is the default action.

StreamWriter OutputStream get; set;

bool Patch get; set;

Not implemented Interactively select hunks in the difference between the index and (defaults to HEAD). The chosen hunks are applied in reverse to the index. + This means that `git reset -p` is the opposite of `git add -p` (see linkgit:git-add[1]).

bool Q get; set;

Not implemented Be quiet, only report errors.

Repository Repository get; set;

bool Soft get; set;

Not implemented Does not touch the index file nor the working tree at all, but requires them to be in a good order. This leaves all your changed files "Changes to be committed", as 'git-status' would put it.