Note: This is the migration API reference for FAKE 5. The new (modularized) API documentation can be found
here.
If the API is already migrated you can check here if exists in a module.
More information regarding the migration can be found here
OBSOLETE
Use Fake.Tools.Git.Repository instead
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
Attributes: [<Obsolete("Use Fake.Tools.Git.Repository instead")>] |
OBSOLETEUse Fake.Tools.Git.Repository instead Clones a git repository. Parameters
|
cloneSingleBranch(...)
Signature: workingDir:string -> repoUrl:string -> branchName:string -> toPath:string -> unit
Attributes: [<Obsolete("Use Fake.Tools.Git.Repository instead")>] |
OBSOLETEUse Fake.Tools.Git.Repository instead Clones a single branch of a git repository. Parameters
|
fullclean(repositoryDir)
Signature: repositoryDir:string -> unit
Attributes: [<Obsolete("Use Fake.Tools.Git.Repository instead")>] |
OBSOLETEUse Fake.Tools.Git.Repository instead Cleans a directory by removing all files and sub-directories. Parameters
|
init repositoryDir bare shared
Signature: repositoryDir:string -> bare:bool -> shared:bool -> unit
Attributes: [<Obsolete("Use Fake.Tools.Git.Repository instead")>] |
OBSOLETEUse Fake.Tools.Git.Repository instead Inits a git repository. Parameters
|