InitΒΆ

Creates a new repository in the given directory.

Examples:

1
2
3
4
5
use Siad007\VersionControl\HG\Factory;

$initCmd = Factory::createInit();
$initCmd->setDestination('/path/to/destination');
$initCmd->execute();