Note: This API documentation is for FAKE version 4. The migration API documentation can be found
here. The API documentation for the new fake 5 modules can be found
here
Repository
Contains functions which allow basic operations on git repositories. All operations assume that the CommandHelper can find git.exe.
Functions and values
Function or value | Description |
clone workingDir repoUrl toPath
Signature: workingDir:string -> repoUrl:string -> toPath:string -> unit
|
Clones a git repository. Parameters
|
cloneSingleBranch(...)
Signature: workingDir:string -> repoUrl:string -> branchName:string -> toPath:string -> unit
|
Clones a single branch of a git repository. Parameters
|
fullclean(repositoryDir)
Signature: repositoryDir:string -> unit
|
Cleans a directory by removing all files and sub-directories. Parameters
|
init repositoryDir bare shared
Signature: repositoryDir:string -> bare:bool -> shared:bool -> unit
|
Inits a git repository. Parameters
|