You can see below the API reference of this module.
Creates a new Gry
instance.
- Object
options
: An object containing the following fields: path
(String): The path to the git repository.limit
(Number): The limit of commands to run same time.
- Gry The
Gry
instance.
Executes a git command in the repository directory.
- String
command
: The git command that should be executed in the repository directory. - Array
args
: An array of options passed to the spawned process. This is optional (if not provided,exec
will be used instead). - Function
callback
: The callback function.
- Gry The
Gry
instance.
Inits the git repository.
- Function
callback
: The callback function.
- Gry The
Gry
instance.
Creates a git repository.
- String
path
: The path of the repository. - Function
callback
: The callback function
- Gry The
Gry
instance.
Creates a commit, providing the message
.
- String
message
: The commit message - String
options
: Additional options passed to the commit command. - Function
callback
: The callback function.
- Gry The
Gry
instance.