Skip to main content

init

init

create a new repository in the given directory

Initialize a new repository in the given directory. If the given directory does not exist, it will be created. If no directory is given, the current directory is used.

Returns 0 on success.

arguments

shortnamefullnamedefaultdescription