Namespaces

Types in GitSharp.Commands

Type SubmoduleCommand

Namespace GitSharp.Commands

Parent AbstractCommand

Properties

Public properties

string ActualDirectory get;

List<string> Arguments get; set;

bool Branch get; set;

Not implemented Branch of repository to add as submodule.

bool Cached get; set;

Not implemented This option is only valid for status and summary commands. These commands typically use the commit found in the submodule HEAD, but with this option, the commit stored in the index is used instead.

bool Files get; set;

Not implemented This option is only valid for the summary command. This command compares the commit in the index with that in the submodule HEAD when this option is used.

string GitDirectory get; set;

bool Merge get; set;

Not implemented This option is only valid for the update command. Merge the commit recorded in the superproject into the current branch of the submodule. If this option is given, the submodule's HEAD will not be detached. If a merge failure prevents this process, you will have to resolve the resulting conflicts within the submodule with the usual conflict resolution tools. If the key `submodule.$name.update` is set to `merge`, this option is implicit.

bool NoFetch get; set;

Not implemented This option is only valid for the update command. Don't fetch new objects from the remote site.

StreamWriter OutputStream get; set;

bool Quiet get; set;

Not implemented Only print error messages.

bool Rebase get; set;

Not implemented This option is only valid for the update command. Rebase the current branch onto the commit recorded in the superproject. If this option is given, the submodule's HEAD will not be detached. If a a merge failure prevents this process, you will have to resolve these failures with linkgit:git-rebase[1]. If the key `submodule.$name.update` is set to `rebase`, this option is implicit.

bool Recursive get; set;

Not implemented This option is only valid for foreach, update and status commands. Traverse submodules recursively. The operation is performed not only in the submodules of the current repo, but also in any nested submodules inside those submodules (and so on).

string Reference get; set;

Not implemented This option is only valid for add and update commands. These commands sometimes need to clone a remote repository. In this case, this option will be passed to the linkgit:git-clone[1] command. + *NOTE*: Do *not* use this option unless you have read the note for linkgit:git-clone[1]'s --reference and --shared options carefully.

Repository Repository get; set;

bool SummaryLimit get; set;

Not implemented This option is only valid for the summary command. Limit the summary size (number of commits shown in total). Giving 0 will disable the summary; a negative number means unlimited (the default). This limit only applies to modified submodules. The size is always limited to 1 for added/deleted/typechanged submodules.