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

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 * string list * string

Adds a file to the staging area