-
Notifications
You must be signed in to change notification settings - Fork 1
Register usage
eviweb edited this page Mar 23, 2021
·
2 revisions
git ignore register <type> <name> <path>
-
<type>
: this defines the type of repository, onlylocal
orgit
is allowed for now -
<name>
: a unique identifier for the registration (no space is allowed) -
<path>
: a valid local path
During the first use the file ./config/repositories
is created in the gitignore-cli root folder.
All records take the following form : <name> <type> <path>
(each information is separated with one space)
- only one
<path>
is recorded, if the provided path already exists, the process is aborted - only one
<name>
is recorded, if the provided name already exists, its related information is updated - the config file
./config/repositories
is not tracked by git