Property | Type | Description | |
---|---|---|---|
DetachedBranch | string | ||
LosslessEncoding | Encoding |
Property | Type | Description | |
---|---|---|---|
AppendQuotedString | string | ||
CreateGitStartInfo | |||
DecodeString | string | ||
Equals | bool | ||
GetCurrentSubmoduleStatus | void | ||
GetFetchArgs | string | ||
GetFileContents | string | ||
GetPatch | PatchApply.Patch | ||
GetSide | string | ||
GetSortedRefsCommand | string | ||
GetSubmoduleCommitHash | IGitItem | ||
GetSubmoduleInfo | GitSubmoduleInfo | ||
GetSubmoduleStatus | void | ||
GetTree | string | ||
GetTreeFromRemoteRefs | CmdResult | ||
GetTreeFromRemoteRefsEx | CmdResult | ||
IGitModule | IGitModule | ||
InitSuperproject | void | ||
ProccessDiffNotes | string | ||
ReadCmdOutputLines | IEnumerable |
||
RunCacheableCmd | string | ||
RunCmd | string | ||
RunCmdResult | CmdResult | ||
StartProccess | Process | ||
UpdateIndex | void |
Method | Description | |
---|---|---|
AddRemote ( string name, string path ) : string | ||
ApplyPatch ( string dir, string amCommand ) : string | ||
AssumeUnchangedFiles ( IList |
||
Blame ( string filename, string from, |
||
Blame ( string filename, string from, string lines, |
||
CheckBranchFormat ( [ branchName ) : bool |
Uses check-ref-format to ensure that a branch name is well formed.
|
|
CheckSubmoduleStatus ( string commit, string oldCommit ) : SubmoduleStatus | ||
CheckSubmoduleStatus ( string commit, string oldCommit, GitCommands.CommitData data, GitCommands.CommitData olddata, bool loaddata = false ) : SubmoduleStatus | ||
CheckoutConflictedFiles ( |
||
CheckoutFiles ( IEnumerable |
||
CommitCmd ( bool amend, bool signOff = false, string author = "", bool useExplicitCommitMessage = true, bool noVerify = false ) : string | ||
DeleteTag ( string tagName ) : string | ||
EditNotes ( string revision ) : void | ||
Equals ( object obj ) : bool | ||
ExistsMergeCommit ( string startRev, string endRev ) : bool | ||
FetchCmd ( string remote, string remoteBranch, string localBranch, bool fetchTags = false, bool isUnshallow = false ) : string | ||
FindGitSuperprojectPath ( string &submoduleName, string &submodulePath ) : string | ||
FindGitWorkingDir ( string startDir ) : string | ||
FindTopProjectModule ( ) : |
||
FormatBranchName ( [ branchName ) : string |
Format branch name, check if name is valid for repository.
|
|
FormatPatch ( string from, string to, string output ) : string | ||
FormatPatch ( string from, string to, string output, int start ) : string | ||
GetAllBranchesWhichContainGivenCommit ( string sha1, bool getLocal, bool getRemote ) : IEnumerable |
Gets branches which contain the given commit. If both local and remote branches are requested, remote branches are prefixed with "remotes/" (as returned by git branch -a)
|
|
GetAllChangedFiles ( bool excludeIgnoredFiles = true, bool excludeAssumeUnchangedFiles = true, UntrackedFilesMode untrackedFiles = UntrackedFilesMode.Default ) : IList |
||
GetAllChangedFilesWithSubmodulesStatus ( bool excludeIgnoredFiles = true, bool excludeAssumeUnchangedFiles = true, UntrackedFilesMode untrackedFiles = UntrackedFilesMode.Default ) : IList |
||
GetAllTagsWhichContainGivenCommit ( string sha1 ) : IEnumerable |
Gets all tags which contain the given commit.
|
|
GetCombinedDiffContent ( |
||
GetCombinedDiffFileList ( string shaOfMergeCommit ) : IList |
||
GetCommitCount ( string parentHash, string childHash ) : int? | ||
GetCommitCountString ( string from, string to ) : string | ||
GetConflict ( string filename ) : |
||
GetConflicts ( string filename = "" ) : List |
||
GetCurrentChanges ( string fileName, string oldFileName, bool staged, string extraDiffArguments, |
||
GetCurrentCheckout ( ) : string | ||
GetCurrentRemote ( ) : string |
Gets the remote of the current branch; or "origin" if no remote is configured.
|
|
GetCurrentSubmoduleLocalPath ( ) : string | ||
GetDiffFiles ( string from, string to, bool noCache = false ) : List |
||
GetDiffFilesText ( string from, string to ) : string | ||
GetDiffFilesText ( string from, string to, bool noCache ) : string | ||
GetDiffFilesWithSubmodulesStatus ( string from, string to ) : List |
||
GetEffectivePathSetting ( string setting ) : string | ||
GetEffectiveSetting ( string setting ) : string | ||
GetEffectiveSettings ( ) : ISettingsSource | ||
GetFileBlobHash ( string fileName, string revision ) : string | ||
GetFileContents ( GitCommands.GitItemStatus file ) : string | ||
GetFileStream ( string blob ) : Stream | ||
GetFileText ( string id, |
||
GetFullTree ( string id ) : string[] | ||
GetGitDirectory ( ) : string |
Gets the ".git" directory path.
|
|
GetGitDirectory ( string repositoryPath ) : string | ||
GetHashCode ( ) : int | ||
GetIgnoredFiles ( IEnumerable |
Returns list of filenames which would be ignored
|
|
GetInteractiveRebasePatchFiles ( ) : IList |
||
GetLocalTrackingBranchName ( string remoteName, string branch ) : string | ||
GetMergeBase ( string a, string b ) : string | ||
GetMergeMessage ( ) : string | ||
GetMergedBranches ( ) : ICollection |
||
GetNextRebasePatch ( ) : string | ||
GetParents ( string commit ) : string[] | ||
GetParentsRevisions ( string commit ) : GitCommands.GitRevision[] | ||
GetPathSetting ( string setting ) : string | ||
GetPreviousCommitMessages ( int count ) : IEnumerable |
||
GetPreviousCommitMessages ( string revision, int count ) : IEnumerable |
||
GetPuttyKeyFileForRemote ( string remote ) : string | ||
GetRebaseDir ( ) : string | ||
GetRebasePatchFiles ( ) : IList |
||
GetRefs ( bool tags = true, bool branches = true ) : IList |
||
GetRemoteBranch ( string branch ) : string |
Gets the remote branch of the specified local branch; or "" if none is configured.
|
|
GetRemoteBranches ( ) : IEnumerable |
||
GetRemoteServerRefs ( string remote, bool tags, bool branches ) : RemoteActionResult |
||
GetRemotes ( bool allowEmpty = true ) : string[] | ||
GetRevision ( string commit, bool shortFormat = false ) : |
||
GetSelectedBranch ( ) : string |
Gets the current branch; or "(no branch)" if HEAD is detached.
|
|
GetSelectedBranch ( string repositoryPath ) : string |
Gets the current branch; or "(no branch)" if HEAD is detached.
|
|
GetSelectedBranchFast ( string repositoryPath ) : string |
Dirty but fast. This sometimes fails.
|
|
GetSetting ( string setting ) : string | ||
GetSettings ( string setting ) : IEnumerable |
||
GetSingleDiff ( string @from, string to, string fileName, string oldFileName, string extraDiffArguments, |
||
GetSortedRefs ( ) : IList |
||
GetStagedFiles ( ) : IList |
||
GetStagedFilesWithSubmodulesStatus ( ) : IList |
||
GetStashDiffFiles ( string stashName ) : IList |
||
GetStashes ( ) : IList |
||
GetStatusText ( bool untracked ) : string | ||
GetSubmodule ( string localPath ) : |
||
GetSubmoduleConfigFile ( ) : ConfigFile | ||
GetSubmoduleFullPath ( string localPath ) : string | ||
GetSubmoduleItemsForEachRef ( string filename, bool>.Func |
||
GetSubmoduleNameByPath ( string localPath ) : string | ||
GetSubmoduleRemotePath ( string name ) : string | ||
GetSubmoduleSummary ( string submodule ) : string | ||
GetSubmodulesInfo ( ) : IEnumerable |
||
GetSubmodulesLocalPaths ( bool recursive = true ) : IList |
This is a faster function to get the names of all submodules then the GetSubmodules() function. The command @git submodule is very slow.
|
|
GetSuperprojectCurrentCheckout ( ) : string>.KeyValuePair |
||
GetTagMessage ( string tag ) : string |
Returns tag's message. If the lightweight tag is passed, corresponding commit message is returned.
|
|
GetTagRefs ( GetTagRefsSortOrder option ) : IList |
|
|
GetTree ( string id, bool full ) : IList |
||
GetTreeFiles ( string treeGuid, bool full ) : IList |
||
GetTreeRefs ( string tree ) : IList |
||
GetUnstagedFiles ( ) : IList |
||
GetUnstagedFilesWithSubmodulesStatus ( ) : IList |
||
GitModule ( string workingdir ) : System | ||
GitStatus ( UntrackedFilesMode untrackedFilesMode, IgnoreSubmodulesMode ignoreSubmodulesMode ) : IList |
||
HandleConflictSelectSide ( string fileName, string side ) : bool | ||
HandleConflictsSaveSide ( string fileName, string saveAsFileName, string side ) : bool | ||
HasSubmodules ( ) : bool | ||
InTheMiddleOfAction ( ) : bool | ||
InTheMiddleOfBisect ( ) : bool | ||
InTheMiddleOfConflictedMerge ( ) : bool | ||
InTheMiddleOfInteractiveRebase ( ) : bool | ||
InTheMiddleOfPatch ( ) : bool | ||
InTheMiddleOfRebase ( ) : bool | ||
Init ( bool bare, bool shared ) : string | ||
IsBareRepository ( ) : bool | ||
IsBareRepository ( string repositoryPath ) : bool | ||
IsDetachedHead ( ) : bool |
Indicates whether HEAD is not pointing to a branch.
|
|
IsDetachedHead ( string branch ) : bool | ||
IsDirtyDir ( ) : bool |
Indicates whether there are any changes to the repository, including any untracked files or directories; excluding submodules.
|
|
IsLockedIndex ( ) : bool | ||
IsLockedIndex ( string repositoryPath ) : bool | ||
IsMerge ( string commit ) : bool | ||
IsRunningGitProcess ( ) : bool | ||
IsSubmodule ( string submodulePath ) : bool | ||
IsValidGitWorkingDir ( ) : bool |
Indicates whether the WorkingDir contains a git repository.
|
|
IsValidGitWorkingDir ( string dir ) : bool |
Indicates whether the specified directory contains a git repository.
|
|
LastPullActionToFormPullAction ( ) : void | ||
OpenWithDifftool ( string filename, string oldFileName = "", string revision1 = null, string revision2 = null, string extraDiffArguments = "" ) : string | ||
PathIsUrl ( string path ) : bool | ||
PullCmd ( string remote, string remoteBranch, string localBranch, bool rebase, bool fetchTags = false, bool isUnshallow = false ) : string | ||
PushAllCmd ( string remote, ForcePushOptions force, bool track, int recursiveSubmodules ) : string |
Creates a 'git push' command using the specified parameters.
|
|
PushCmd ( string remote, string fromBranch, string toBranch, ForcePushOptions force, bool track, int recursiveSubmodules ) : string |
Creates a 'git push' command using the specified parameters.
|
|
ReEncodeCommitMessage ( string s, string toEncodingName ) : string | ||
ReEncodeFileNameFromLossless ( string fileName ) : string | ||
ReEncodeShowString ( string s ) : string |
header part of show result is encoded in logoutputencoding (including reencoded commit message) diff part is raw data in file's original encoding s should be encoded in LosslessEncoding
|
|
ReEncodeString ( string s, Encoding fromEncoding, Encoding toEncoding ) : string | ||
ReEncodeStringFromLossless ( string s ) : string | ||
ReEncodeStringFromLossless ( string s, Encoding toEncoding ) : string |
reencodes string from GitCommandHelpers.LosslessEncoding to toEncoding
|
|
ReadGitOutputLines ( string arguments ) : IEnumerable |
Run git command, console window is hidden, wait for exit, redirect output
|
|
RemoveFiles ( IEnumerable |
||
RemoveRemote ( string name ) : string | ||
RenameBranch ( string name, string newName ) : string | ||
RenameRemote ( string name, string newName ) : string | ||
ResetFile ( string file ) : string | ||
ResetHard ( string commit ) : string | ||
ResetHard ( string commit, string file ) : string | ||
ResetMixed ( string commit ) : string | ||
ResetMixed ( string commit, string file ) : string | ||
ResetSoft ( string commit ) : string | ||
ResetSoft ( string commit, string file ) : string | ||
RevParse ( string revisionExpression ) : string | ||
RunBash ( string bashCommand = null ) : Process |
Runs a bash or shell command.
|
|
RunBatchFile ( string batchFile ) : string |
Run batch file, console window is hidden, wait for exit, redirect output
|
|
RunExternalCmdDetached ( string cmd, string arguments ) : Process |
Run command, console window is hidden
|
|
RunExternalCmdDetached ( string fileName, string arguments, string workingDir ) : Process |
Run command, console window is hidden
|
|
RunExternalCmdDetachedShowConsole ( string cmd, string arguments ) : Process |
Run command, console window is visible
|
|
RunExternalCmdShowConsole ( string cmd, string arguments ) : void |
Run command, console window is visible, wait for exit
|
|
RunGitCmd ( string arguments, Encoding encoding = null, byte stdInput = null ) : string |
Run git command, console window is hidden, wait for exit, redirect output
|
|
RunGitCmdDetached ( string arguments, Encoding encoding = null ) : Process |
Run git command, console window is hidden, redirect output
|
|
RunGitCmdResult ( string arguments, Encoding encoding = null, byte stdInput = null ) : CmdResult |
Run git command, console window is hidden, wait for exit, redirect output
|
|
RunGitK ( ) : void | ||
RunGui ( ) : void | ||
SaveBlobAs ( string saveAs, string blob ) : void | ||
SetPathSetting ( string setting, string value ) : void | ||
SetSetting ( string setting, string value ) : void | ||
ShowSha1 ( string sha1 ) : string | ||
StageFile ( string file ) : string | ||
StageFileToRemove ( string file ) : string | ||
StageFiles ( IList |
||
StartPageantForRemote ( string remote ) : bool |
Tries to start Pageant for the specified remote repo (using the remote's PuTTY key file).
|
|
StartPageantWithKey ( string sshKeyFile ) : void | ||
StreamCopy ( Stream input, Stream output ) : void | ||
Tag ( string tagName, string revision, bool annotation, bool force ) : string | ||
ToString ( ) : string | ||
UnquoteFileName ( string fileName ) : string | ||
UnsetSetting ( string setting ) : void | ||
UnstageFile ( string file ) : string | ||
UnstageFileToRemove ( string file ) : string | ||
UnstageFiles ( IList |
Method | Description | |
---|---|---|
AppendQuotedString ( string str1, string str2 ) : string | ||
CreateGitStartInfo ( string arguments ) : |
||
DecodeString ( string str ) : string | ||
Equals ( |
||
GetCurrentSubmoduleStatus ( IList |
||
GetFetchArgs ( string remote, string remoteBranch, string localBranch, bool fetchTags, bool isUnshallow ) : string | ||
GetFileContents ( string path ) : string | ||
GetPatch ( PatchApply patchManager, string fileName, string oldFileName ) : PatchApply.Patch | ||
GetSide ( string side ) : string | ||
GetSortedRefsCommand ( ) : string | ||
GetSubmoduleCommitHash ( string filename, string refName ) : IGitItem | ||
GetSubmoduleInfo ( string submodule ) : GitSubmoduleInfo | ||
GetSubmoduleStatus ( IList |
||
GetTree ( bool tags, bool branches ) : string | ||
GetTreeFromRemoteRefs ( string remote, bool tags, bool branches ) : CmdResult | ||
GetTreeFromRemoteRefsEx ( string remote, bool tags, bool branches ) : CmdResult | ||
IGitModule ( string submoduleName ) : IGitModule | ||
InitSuperproject ( ) : void | ||
ProccessDiffNotes ( int startIndex, string lines ) : string | ||
ReadCmdOutputLines ( string cmd, string arguments, string stdInput ) : IEnumerable |
||
RunCacheableCmd ( string cmd, string arguments = "", Encoding encoding = null ) : string | ||
RunCmd ( string cmd, string arguments, Encoding encoding = null, byte stdInput = null ) : string | ||
RunCmdResult ( string cmd, string arguments, Encoding encoding = null, byte stdInput = null ) : CmdResult | ||
StartProccess ( string fileName, string arguments, string workingDir, bool showConsole ) : Process | ||
UpdateIndex ( Lazy |
public AddRemote ( string name, string path ) : string | ||
name | string | |
path | string | |
return | string |
public ApplyPatch ( string dir, string amCommand ) : string | ||
dir | string | |
amCommand | string | |
return | string |
public AssumeUnchangedFiles ( IList |
||
files | IList |
|
assumeUnchanged | bool | |
wereErrors | bool | |
return | string |
public Blame ( string filename, string from, |
||
filename | string | |
from | string | |
encoding | ||
return | GitCommands.GitBlame |
public Blame ( string filename, string from, string lines, |
||
filename | string | |
from | string | |
lines | string | |
encoding | ||
return | GitCommands.GitBlame |
public CheckBranchFormat ( [ branchName ) : bool | ||
branchName | [ | Branch name to test. |
return | bool |
public CheckSubmoduleStatus ( string commit, string oldCommit ) : SubmoduleStatus | ||
commit | string | |
oldCommit | string | |
return | SubmoduleStatus |
public CheckSubmoduleStatus ( string commit, string oldCommit, GitCommands.CommitData data, GitCommands.CommitData olddata, bool loaddata = false ) : SubmoduleStatus | ||
commit | string | |
oldCommit | string | |
data | GitCommands.CommitData | |
olddata | GitCommands.CommitData | |
loaddata | bool | |
return | SubmoduleStatus |
public CheckoutConflictedFiles ( |
||
unmergedData | ||
return | string[] |
public CheckoutFiles ( IEnumerable |
||
fileList | IEnumerable |
|
revision | string | |
force | bool | |
return | string |
public CommitCmd ( bool amend, bool signOff = false, string author = "", bool useExplicitCommitMessage = true, bool noVerify = false ) : string | ||
amend | bool | |
signOff | bool | |
author | string | |
useExplicitCommitMessage | bool | |
noVerify | bool | |
return | string |
public ExistsMergeCommit ( string startRev, string endRev ) : bool | ||
startRev | string | |
endRev | string | |
return | bool |
public FetchCmd ( string remote, string remoteBranch, string localBranch, bool fetchTags = false, bool isUnshallow = false ) : string | ||
remote | string | |
remoteBranch | string | |
localBranch | string | |
fetchTags | bool | |
isUnshallow | bool | |
return | string |
public FindGitSuperprojectPath ( string &submoduleName, string &submodulePath ) : string | ||
submoduleName | string | |
submodulePath | string | |
return | string |
public static FindGitWorkingDir ( string startDir ) : string | ||
startDir | string | |
return | string |
public FormatBranchName ( [ branchName ) : string | ||
branchName | [ | Branch name to test. |
return | string |
public FormatPatch ( string from, string to, string output ) : string | ||
from | string | |
to | string | |
output | string | |
return | string |
public FormatPatch ( string from, string to, string output, int start ) : string | ||
from | string | |
to | string | |
output | string | |
start | int | |
return | string |
public GetAllBranchesWhichContainGivenCommit ( string sha1, bool getLocal, bool getRemote ) : IEnumerable |
||
sha1 | string | The sha1. |
getLocal | bool | Pass true to include local branches |
getRemote | bool | Pass true to include remote branches |
return | IEnumerable |
public GetAllChangedFiles ( bool excludeIgnoredFiles = true, bool excludeAssumeUnchangedFiles = true, UntrackedFilesMode untrackedFiles = UntrackedFilesMode.Default ) : IList |
||
excludeIgnoredFiles | bool | |
excludeAssumeUnchangedFiles | bool | |
untrackedFiles | UntrackedFilesMode | |
return | IList |
public GetAllChangedFilesWithSubmodulesStatus ( bool excludeIgnoredFiles = true, bool excludeAssumeUnchangedFiles = true, UntrackedFilesMode untrackedFiles = UntrackedFilesMode.Default ) : IList |
||
excludeIgnoredFiles | bool | |
excludeAssumeUnchangedFiles | bool | |
untrackedFiles | UntrackedFilesMode | |
return | IList |
public GetAllTagsWhichContainGivenCommit ( string sha1 ) : IEnumerable |
||
sha1 | string | The sha1. |
return | IEnumerable |
public GetCombinedDiffContent ( |
||
revisionOfMergeCommit | ||
filePath | string | |
extraArgs | string | |
encoding | ||
return | string |
public GetCombinedDiffFileList ( string shaOfMergeCommit ) : IList |
||
shaOfMergeCommit | string | |
return | IList |
public GetCommitCount ( string parentHash, string childHash ) : int? | ||
parentHash | string | |
childHash | string | |
return | int? |
public GetCommitCountString ( string from, string to ) : string | ||
from | string | |
to | string | |
return | string |
public GetConflict ( string filename ) : |
||
filename | string | |
return |
public GetConflicts ( string filename = "" ) : List |
||
filename | string | |
return | List |
public GetCurrentChanges ( string fileName, string oldFileName, bool staged, string extraDiffArguments, |
||
fileName | string | |
oldFileName | string | |
staged | bool | |
extraDiffArguments | string | |
encoding | ||
return | PatchApply.Patch |
public GetCurrentSubmoduleLocalPath ( ) : string | ||
return | string |
public GetDiffFiles ( string from, string to, bool noCache = false ) : List |
||
from | string | |
to | string | |
noCache | bool | |
return | List |
public GetDiffFilesText ( string from, string to ) : string | ||
from | string | |
to | string | |
return | string |
public GetDiffFilesText ( string from, string to, bool noCache ) : string | ||
from | string | |
to | string | |
noCache | bool | |
return | string |
public GetDiffFilesWithSubmodulesStatus ( string from, string to ) : List |
||
from | string | |
to | string | |
return | List |
public GetEffectivePathSetting ( string setting ) : string | ||
setting | string | |
return | string |
public GetEffectiveSetting ( string setting ) : string | ||
setting | string | |
return | string |
public GetEffectiveSettings ( ) : ISettingsSource | ||
return | ISettingsSource |
public GetFileBlobHash ( string fileName, string revision ) : string | ||
fileName | string | |
revision | string | |
return | string |
public GetFileContents ( GitCommands.GitItemStatus file ) : string | ||
file | GitCommands.GitItemStatus | |
return | string |
public GetFileStream ( string blob ) : Stream | ||
blob | string | |
return | Stream |
public GetFileText ( string id, |
||
id | string | |
encoding | ||
return | string |
public static GetGitDirectory ( string repositoryPath ) : string | ||
repositoryPath | string | |
return | string |
public GetIgnoredFiles ( IEnumerable |
||
ignorePatterns | IEnumerable |
Patterns to ignore (.gitignore syntax) |
return | IList |
public GetInteractiveRebasePatchFiles ( ) : IList |
||
return | IList |
public GetLocalTrackingBranchName ( string remoteName, string branch ) : string | ||
remoteName | string | |
branch | string | |
return | string |
public GetMergeBase ( string a, string b ) : string | ||
a | string | |
b | string | |
return | string |
public GetParents ( string commit ) : string[] | ||
commit | string | |
return | string[] |
public GetParentsRevisions ( string commit ) : GitCommands.GitRevision[] | ||
commit | string | |
return | GitCommands.GitRevision[] |
public GetPathSetting ( string setting ) : string | ||
setting | string | |
return | string |
public GetPreviousCommitMessages ( int count ) : IEnumerable |
||
count | int | |
return | IEnumerable |
public GetPreviousCommitMessages ( string revision, int count ) : IEnumerable |
||
revision | string | |
count | int | |
return | IEnumerable |
public GetPuttyKeyFileForRemote ( string remote ) : string | ||
remote | string | |
return | string |
public GetRefs ( bool tags = true, bool branches = true ) : IList |
||
tags | bool | |
branches | bool | |
return | IList |
public GetRemoteBranch ( string branch ) : string | ||
branch | string | |
return | string |
public GetRemoteServerRefs ( string remote, bool tags, bool branches ) : RemoteActionResult |
||
remote | string | |
tags | bool | |
branches | bool | |
return | RemoteActionResult |
public GetRemotes ( bool allowEmpty = true ) : string[] | ||
allowEmpty | bool | |
return | string[] |
public GetRevision ( string commit, bool shortFormat = false ) : |
||
commit | string | |
shortFormat | bool | |
return |
public GetSelectedBranch ( string repositoryPath ) : string | ||
repositoryPath | string | |
return | string |
public static GetSelectedBranchFast ( string repositoryPath ) : string | ||
repositoryPath | string | |
return | string |
public GetSetting ( string setting ) : string | ||
setting | string | |
return | string |
public GetSettings ( string setting ) : IEnumerable |
||
setting | string | |
return | IEnumerable |
public GetSingleDiff ( string @from, string to, string fileName, string oldFileName, string extraDiffArguments, |
||
@from | string | |
to | string | |
fileName | string | |
oldFileName | string | |
extraDiffArguments | string | |
encoding | ||
cacheResult | bool | |
return | PatchApply.Patch |
public GetStagedFilesWithSubmodulesStatus ( ) : IList |
||
return | IList |
public GetStashDiffFiles ( string stashName ) : IList |
||
stashName | string | |
return | IList |
public GetStatusText ( bool untracked ) : string | ||
untracked | bool | |
return | string |
public GetSubmodule ( string localPath ) : |
||
localPath | string | |
return |
public GetSubmoduleConfigFile ( ) : ConfigFile | ||
return | ConfigFile |
public GetSubmoduleFullPath ( string localPath ) : string | ||
localPath | string | |
return | string |
public GetSubmoduleItemsForEachRef ( string filename, bool>.Func |
||
filename | string | |
showRemoteRef | bool>.Func | |
return | IGitItem>.Dictionary |
public GetSubmoduleNameByPath ( string localPath ) : string | ||
localPath | string | |
return | string |
public GetSubmoduleRemotePath ( string name ) : string | ||
name | string | |
return | string |
public GetSubmoduleSummary ( string submodule ) : string | ||
submodule | string | |
return | string |
public GetSubmodulesLocalPaths ( bool recursive = true ) : IList |
||
recursive | bool | |
return | IList |
public GetSuperprojectCurrentCheckout ( ) : string>.KeyValuePair |
||
return | string>.KeyValuePair |
public GetTagRefs ( GetTagRefsSortOrder option ) : IList |
||
option | GetTagRefsSortOrder | Ordery by date is slower. |
return | IList |
public GetTree ( string id, bool full ) : IList |
||
id | string | |
full | bool | |
return | IList |
public GetTreeFiles ( string treeGuid, bool full ) : IList |
||
treeGuid | string | |
full | bool | |
return | IList |
public GetUnstagedFilesWithSubmodulesStatus ( ) : IList |
||
return | IList |
public GitModule ( string workingdir ) : System | ||
workingdir | string | |
return | System |
public GitStatus ( UntrackedFilesMode untrackedFilesMode, IgnoreSubmodulesMode ignoreSubmodulesMode ) : IList |
||
untrackedFilesMode | UntrackedFilesMode | |
ignoreSubmodulesMode | IgnoreSubmodulesMode | |
return | IList |
public HandleConflictSelectSide ( string fileName, string side ) : bool | ||
fileName | string | |
side | string | |
return | bool |
public HandleConflictsSaveSide ( string fileName, string saveAsFileName, string side ) : bool | ||
fileName | string | |
saveAsFileName | string | |
side | string | |
return | bool |
public InTheMiddleOfConflictedMerge ( ) : bool | ||
return | bool |
public InTheMiddleOfInteractiveRebase ( ) : bool | ||
return | bool |
public Init ( bool bare, bool shared ) : string | ||
bare | bool | |
shared | bool | |
return | string |
public static IsBareRepository ( string repositoryPath ) : bool | ||
repositoryPath | string | |
return | bool |
public static IsDetachedHead ( string branch ) : bool | ||
branch | string | |
return | bool |
public static IsLockedIndex ( string repositoryPath ) : bool | ||
repositoryPath | string | |
return | bool |
public IsSubmodule ( string submodulePath ) : bool | ||
submodulePath | string | |
return | bool |
public static IsValidGitWorkingDir ( string dir ) : bool | ||
dir | string | |
return | bool |
public LastPullActionToFormPullAction ( ) : void | ||
return | void |
public OpenWithDifftool ( string filename, string oldFileName = "", string revision1 = null, string revision2 = null, string extraDiffArguments = "" ) : string | ||
filename | string | |
oldFileName | string | |
revision1 | string | |
revision2 | string | |
extraDiffArguments | string | |
return | string |
public static PathIsUrl ( string path ) : bool | ||
path | string | |
return | bool |
public PullCmd ( string remote, string remoteBranch, string localBranch, bool rebase, bool fetchTags = false, bool isUnshallow = false ) : string | ||
remote | string | |
remoteBranch | string | |
localBranch | string | |
rebase | bool | |
fetchTags | bool | |
isUnshallow | bool | |
return | string |
public PushAllCmd ( string remote, ForcePushOptions force, bool track, int recursiveSubmodules ) : string | ||
remote | string | Remote repository that is the destination of the push operation. |
force | ForcePushOptions | If a remote ref is not an ancestor of the local ref, overwrite it.
/// |
track | bool | For every branch that is up to date or successfully pushed, add upstream (tracking) reference. |
recursiveSubmodules | int | If '1', check whether all submodule commits used by the revisions to be pushed are available on a remote tracking branch; otherwise, the push will be aborted. |
return | string |
public PushCmd ( string remote, string fromBranch, string toBranch, ForcePushOptions force, bool track, int recursiveSubmodules ) : string | ||
remote | string | Remote repository that is the destination of the push operation. |
fromBranch | string | Name of the branch to push. |
toBranch | string | Name of the ref on the remote side to update with the push. |
force | ForcePushOptions | If a remote ref is not an ancestor of the local ref, overwrite it.
/// |
track | bool | For every branch that is up to date or successfully pushed, add upstream (tracking) reference. |
recursiveSubmodules | int | If '1', check whether all submodule commits used by the revisions to be pushed are available on a remote tracking branch; otherwise, the push will be aborted. |
return | string |
public ReEncodeCommitMessage ( string s, string toEncodingName ) : string | ||
s | string | |
toEncodingName | string | |
return | string |
public static ReEncodeFileNameFromLossless ( string fileName ) : string | ||
fileName | string | |
return | string |
public ReEncodeShowString ( string s ) : string | ||
s | string | |
return | string |
public static ReEncodeString ( string s, Encoding fromEncoding, Encoding toEncoding ) : string | ||
s | string | |
fromEncoding | Encoding | |
toEncoding | Encoding | |
return | string |
public ReEncodeStringFromLossless ( string s ) : string | ||
s | string | |
return | string |
public static ReEncodeStringFromLossless ( string s, Encoding toEncoding ) : string | ||
s | string | |
toEncoding | Encoding | |
return | string |
public ReadGitOutputLines ( string arguments ) : IEnumerable |
||
arguments | string | |
return | IEnumerable |
public RemoveFiles ( IEnumerable |
||
fileList | IEnumerable |
|
force | bool | |
return | string |
public RenameBranch ( string name, string newName ) : string | ||
name | string | |
newName | string | |
return | string |
public RenameRemote ( string name, string newName ) : string | ||
name | string | |
newName | string | |
return | string |
public ResetHard ( string commit, string file ) : string | ||
commit | string | |
file | string | |
return | string |
public ResetMixed ( string commit, string file ) : string | ||
commit | string | |
file | string | |
return | string |
public ResetSoft ( string commit, string file ) : string | ||
commit | string | |
file | string | |
return | string |
public RevParse ( string revisionExpression ) : string | ||
revisionExpression | string | |
return | string |
public RunBash ( string bashCommand = null ) : Process | ||
bashCommand | string | |
return | Process |
public RunBatchFile ( string batchFile ) : string | ||
batchFile | string | |
return | string |
public RunExternalCmdDetached ( string cmd, string arguments ) : Process | ||
cmd | string | |
arguments | string | |
return | Process |
public static RunExternalCmdDetached ( string fileName, string arguments, string workingDir ) : Process | ||
fileName | string | |
arguments | string | |
workingDir | string | |
return | Process |
public RunExternalCmdDetachedShowConsole ( string cmd, string arguments ) : Process | ||
cmd | string | |
arguments | string | |
return | Process |
public RunExternalCmdShowConsole ( string cmd, string arguments ) : void | ||
cmd | string | |
arguments | string | |
return | void |
public RunGitCmd ( string arguments, Encoding encoding = null, byte stdInput = null ) : string | ||
arguments | string | |
encoding | Encoding | |
stdInput | byte | |
return | string |
public RunGitCmdDetached ( string arguments, Encoding encoding = null ) : Process | ||
arguments | string | |
encoding | Encoding | |
return | Process |
public RunGitCmdResult ( string arguments, Encoding encoding = null, byte stdInput = null ) : CmdResult | ||
arguments | string | |
encoding | Encoding | |
stdInput | byte | |
return | CmdResult |
public SaveBlobAs ( string saveAs, string blob ) : void | ||
saveAs | string | |
blob | string | |
return | void |
public SetPathSetting ( string setting, string value ) : void | ||
setting | string | |
value | string | |
return | void |
public SetSetting ( string setting, string value ) : void | ||
setting | string | |
value | string | |
return | void |
public StageFileToRemove ( string file ) : string | ||
file | string | |
return | string |
public StageFiles ( IList |
||
files | IList |
|
wereErrors | bool | |
return | string |
public StartPageantForRemote ( string remote ) : bool | ||
remote | string | |
return | bool |
public static StartPageantWithKey ( string sshKeyFile ) : void | ||
sshKeyFile | string | |
return | void |
public static StreamCopy ( Stream input, Stream output ) : void | ||
input | Stream | |
output | Stream | |
return | void |
public Tag ( string tagName, string revision, bool annotation, bool force ) : string | ||
tagName | string | |
revision | string | |
annotation | bool | |
force | bool | |
return | string |
public static UnquoteFileName ( string fileName ) : string | ||
fileName | string | |
return | string |
public UnsetSetting ( string setting ) : void | ||
setting | string | |
return | void |
public UnstageFileToRemove ( string file ) : string | ||
file | string | |
return | string |