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

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

v5.fake.build

Reset Module

Contains helper functions which allow to deal with git reset.

Functions and values

Function or value Description

Reset.ResetHard repositoryDir

Full Usage: Reset.ResetHard repositoryDir

Parameters:
    repositoryDir : string - The git repository.

Performs a git reset "hard" to the current HEAD. Resets the index and working tree. Any changes to tracked files in the working tree since <commit> are discarded.

repositoryDir : string

The git repository.

Reset.ResetMixed repositoryDir

Full Usage: Reset.ResetMixed repositoryDir

Parameters:
    repositoryDir : string - The git repository.

Performs a git reset "mixed" to the current HEAD. Resets the index but not the working tree and reports what has not been updated.

repositoryDir : string

The git repository.

Reset.ResetSoft repositoryDir

Full Usage: Reset.ResetSoft repositoryDir

Parameters:
    repositoryDir : string - The git repository.

Performs a git reset "soft" to the current HEAD. Does not touch the index file nor the working tree at all.

repositoryDir : string

The git repository.

Reset.hard repositoryDir commit file

Full Usage: Reset.hard repositoryDir commit file

Parameters:
    repositoryDir : string - The git repository.
    commit : string - The commit to which git should perform the reset.
    file : string - The file to reset - null means all files.

Performs a git reset "hard". Resets the index and working tree. Any changes to tracked files in the working tree since <commit> are discarded.

repositoryDir : string

The git repository.

commit : string

The commit to which git should perform the reset.

file : string

The file to reset - null means all files.

Reset.mixed repositoryDir commit file

Full Usage: Reset.mixed repositoryDir commit file

Parameters:
    repositoryDir : string - The git repository.
    commit : string - The commit to which git should perform the reset.
    file : string - The file to reset - null means all files.

Performs a git reset "mixed". Resets the index but not the working tree and reports what has not been updated.

repositoryDir : string

The git repository.

commit : string

The commit to which git should perform the reset.

file : string

The file to reset - null means all files.

Reset.soft repositoryDir commit file

Full Usage: Reset.soft repositoryDir commit file

Parameters:
    repositoryDir : string - The git repository.
    commit : string - The commit to which git should perform the reset.
    file : string - The file to reset - null means all files.

Performs a git reset "soft". Does not touch the index file nor the working tree at all.

repositoryDir : string

The git repository.

commit : string

The commit to which git should perform the reset.

file : string

The file to reset - null means all files.