Initialize-Repository



Summary

Initialize a repository in the current directory.

Syntax

Initialize-Repository [<CommonParameters>]

Description

This command initializes a directory to be used as a repository. It creates a .repository folder in the current directory, which contains the definition of the .repository and all its settings.

In order to un-initalize a directory, simple remove the .repository folder.

After initializing a repository, you must add at least one filter to define the content that this repository will receive.

If the directory already contains a repository, the command will fail.

Parameters

No parameters defined.

Examples


PS C:\> Initialize-Repository

See also