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

Staging

Contains helper functions which allow to deal with git's staging area.

Functions and values

Function or valueDescription
StageAll(repositoryDir)
Signature: repositoryDir:string -> unit

Adds all files to the staging area

StageFile repositoryDir file
Signature: repositoryDir:string -> file:string -> bool * List<string> * string

Adds a file to the staging area