Namespace: git

git

Git utilities.
Source:

Example

const { git } = require('dev-env-lib');

Methods

(static) clone() → {cp~AggregatedOutput}

Clone a git repository.
Parameters:
Name Type Description
options.cwd cp~PathSegments working directory
options.name string name of folder created by git clone
options.repository string clone url to git repository
options.branch string name of branch to checkout by default
Source:
Returns:
aggregated output
Type
cp~AggregatedOutput