nt init
Name
nt init — Create an empty The NoteWriter repository.
Synopsis
Usage: nt init [flags]
Flags: -h, --help help for initDescription
This command creates an empty The NoteWriter repository — basically a .nt directory with a subdirectory for objects, and default configuration files. A default index will be created.
Running nt init in an existing repository is safe. It will not overwrite things that are already there.
Example
-
Init a new repository:
$ nt init$ tree -a.├── .nt│ ├── .gitignore│ └── config└── .ntignore1 directory, 3 files
See Also
nt-addto add your first objects