CommandHelper Module
Contains helpers which allow to interact with [git](http://git-scm.com/) via the command line.
Functions and values
| Function or value |
Description
|
Full Usage:
directRunGitCommand repositoryDir command
Parameters:
string
command : string
Returns: bool
|
Runs the given git command, waits for its completion and returns whether it succeeded.
|
Full Usage:
fireAndForgetGitCommand repositoryDir command
Parameters:
string
command : string
|
Fires the given git command ind the given repository directory and returns immediatly.
|
Full Usage:
gitCommand repositoryDir command
Parameters:
string
command : string
|
Runs the given git command, waits for its completion.
|
Full Usage:
gitPath
Returns: string
|
Tries to locate the git.exe via the eviroment variable "GIT".
|
|
Specifies a global timeout for git.exe - default is *no timeout*
|
Full Usage:
runFullGitCommand repositoryDir command
Parameters:
string
command : string
Returns: string[]
|
Runs the git command and returns the results.
|
Full Usage:
runGitCommand repositoryDir command
Parameters:
string
command : string
Returns: bool * List<string> * string
|
Runs git.exe with the given command in the given repository directory.
|
Full Usage:
runSimpleGitCommand repositoryDir command
Parameters:
string
command : string
Returns: string
|
Runs the git command and returns the first line of the result.
|
Paket