FAKE - F# Make - A DSL for build tasks and more FAKE
6.1.3

Lookig for older versions of the documentation, pre FAKE v6? See 

v5.fake.build

Repository Module

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

Repository.clone workingDir repoUrl toPath

Full Usage: Repository.clone workingDir repoUrl toPath

Parameters:
    workingDir : string - The working directory.
    repoUrl : string - The URL to the origin.
    toPath : string - Specifies the new target subfolder.

Clones a git repository.

workingDir : string

The working directory.

repoUrl : string

The URL to the origin.

toPath : string

Specifies the new target subfolder.

Repository.cloneSingleBranch workingDir repoUrl branchName toPath

Full Usage: Repository.cloneSingleBranch workingDir repoUrl branchName toPath

Parameters:
    workingDir : string - The working directory.
    repoUrl : string - The URL to the origin.
    branchName : string - Specifies the target branch.
    toPath : string - Specifies the new target subfolder.

Clones a single branch of a git repository.

workingDir : string

The working directory.

repoUrl : string

The URL to the origin.

branchName : string

Specifies the target branch.

toPath : string

Specifies the new target subfolder.

Repository.fullClean repositoryDir

Full Usage: Repository.fullClean repositoryDir

Parameters:
    repositoryDir : string - The path of the directory to clean.

Cleans a directory by removing all files and sub-directories.

repositoryDir : string

The path of the directory to clean.

Repository.init repositoryDir bare shared

Full Usage: Repository.init repositoryDir bare shared

Parameters:
    repositoryDir : string - The path of the target directory.
    bare : bool - If the new directory is a bare directory.
    shared : bool - Specifies that the git repository is to be shared amongst several users. This allows users belonging to the same group to push into that repository.

Inits a git repository.

repositoryDir : string

The path of the target directory.

bare : bool

If the new directory is a bare directory.

shared : bool

Specifies that the git repository is to be shared amongst several users. This allows users belonging to the same group to push into that repository.