프로퍼티 | 타입 | 설명 |
---|
메소드 | 설명 | |
---|---|---|
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 |