Namespaces

Types in GitSharp.Commands

Type AddCommand

Namespace GitSharp.Commands

Parent AbstractCommand

Properties

Public properties

string ActualDirectory get;

bool All get; set;

Not implemented Update files that git already knows about (same as '\--update') and add all untracked files that are not ignored by '.gitignore' mechanism.

List<string> Arguments get; set;

bool DryRun get; set;

Not implemented Don't actually add the file(s), just show if they exist.

bool E get; set;

Not implemented Open the diff vs. the index in an editor and let the user edit it. After the editor was closed, adjust the hunk headers and apply the patch to the index. + *NOTE*: Obviously, if you change anything else than the first character on lines beginning with a space or a minus, the patch will no longer apply.

bool Force get; set;

Not implemented Allow adding otherwise ignored files.

string GitDirectory get; set;

bool IgnoreErrors get; set;

Not implemented If some files could not be added because of errors indexing them, do not abort the operation, but continue adding the others. The command shall still exit with non-zero status.

bool IntentToAdd get; set;

Not implemented Record only the fact that the path will be added later. An entry for the path is placed in the index with no content. This is useful for, among other things, showing the unstaged content of such files with 'git diff' and committing them with 'git commit -a'.

bool Interactive get; set;

Not implemented Add modified contents in the working tree interactively to the index. Optional path arguments may be supplied to limit operation to a subset of the working tree. See ``Interactive mode'' for details.

StreamWriter OutputStream get; set;

bool Patch get; set;

Not implemented Interactively choose hunks of patch between the index and the work tree and add them to the index. This gives the user a chance to review the difference before adding modified contents to the index. + This effectively runs `add --interactive`, but bypasses the initial command menu and directly jumps to the `patch` subcommand. See ``Interactive mode'' for details.

bool Refresh get; set;

Not implemented Don't add the file(s), but only refresh their stat() information in the index.

Repository Repository get; set;

bool Update get; set;

Not implemented Update only files that git already knows about, staging modified content for commit and marking deleted files for removal. This is similar to what "git commit -a" does in preparation for making a commit, except that the update is limited to paths specified on the command line. If no paths are specified, all tracked files in the current directory and its subdirectories are updated.

bool Verbose get; set;

Not implemented Be verbose.