Свойство | Тип | Описание |
---|
Метод | Описание | |
---|---|---|
BranchAheadOrBehind ( string from, string to ) : |
Determines how many commits the from branch is ahead and/or behind the toBranch.
|
|
CheckOutBranch ( string branch, bool createNew = false ) : void |
Checks out a branch.
|
|
DiffBranches ( string from, string to ) : IEnumerable |
Diffs the two branches.
|
|
DiffFileInTortoise ( string fileName, string endRevision = null, string startRevision = null ) : void |
Diffs the file.
|
|
DiffFileWithGit ( string fileName, string revision ) : string |
Diffs a file against the specified revision using git.
|
|
GetAbsolutePath ( string path ) : string |
Converts a relative path to an absolute path relative to the solution.
|
|
GetCurrentBranch ( ) : string |
Gets the current branch clean of any operation status.
|
|
GetHeadRevisionHash ( string branchName = null ) : string |
Gets the latest revision for the specified branch (defaults to current branch).
|
|
GetLastCommitMessage ( ) : string |
Gets the last commit message.
|
|
GetWorkingDirectory ( ) : string |
Gets the current working directory.
|
|
IsMerging ( ) : bool |
Determines whether this branch is merging.
|
|
ParseGitStatus ( string status ) : IList |
Parses git status into a list of files.
|
|
RunGitCommand ( string command, bool wait = false, bool silent = false ) : |
Runs a tortoiseGit command.
|
|
RunGitTfs ( string command, bool wait = false, bool silent = false ) : string |
Runs a command in the git tfs commandline environment.
|
|
RunTortoise ( string command ) : void |
Runs a tortoiseGit command.
|
|
SccHelperService ( SccProviderService sccProvider ) : System |
Initializes a new instance of the SccHelperService class.
|
|
WorkingDirectoryClean ( ) : bool |
Gets the current working directory.
|
public static BranchAheadOrBehind ( string from, string to ) : |
||
from | string | From branch. |
to | string | To branch. |
Результат |
public CheckOutBranch ( string branch, bool createNew = false ) : void | ||
branch | string | The branch. |
createNew | bool | if set to |
Результат | void |
public static DiffBranches ( string from, string to ) : IEnumerable |
||
from | string | From branch. |
to | string | To branch. |
Результат | IEnumerable |
public DiffFileInTortoise ( string fileName, string endRevision = null, string startRevision = null ) : void | ||
fileName | string | Name of the file. |
endRevision | string | To revision. |
startRevision | string | From revision. |
Результат | void |
public DiffFileWithGit ( string fileName, string revision ) : string | ||
fileName | string | Name of the file. |
revision | string | The revision. |
Результат | string |
public static GetAbsolutePath ( string path ) : string | ||
path | string | The path. |
Результат | string |
public GetHeadRevisionHash ( string branchName = null ) : string | ||
branchName | string | Name of the branch. |
Результат | string |
public ParseGitStatus ( string status ) : IList |
||
status | string | The status. |
Результат | IList |
public static RunGitCommand ( string command, bool wait = false, bool silent = false ) : |
||
command | string | The command. |
wait | bool | if set to |
silent | bool | if set to |
Результат |
public static RunGitTfs ( string command, bool wait = false, bool silent = false ) : string | ||
command | string | The command. |
wait | bool | waits for the process to exit before continuing execution. |
silent | bool | if set to |
Результат | string |
public RunTortoise ( string command ) : void | ||
command | string | The command. |
Результат | void |
public SccHelperService ( SccProviderService sccProvider ) : System | ||
sccProvider | SccProviderService | The SCC provider. |
Результат | System |