repository provider using local (native) git commands


Keywords
git, repository-provider
License
BSD-2-Clause
Install
npm install local-repository-provider@1.2.17

Documentation

npm Greenkeeper semantic-release styled with prettier Build Status codecov.io Coverage Status Known Vulnerabilities GitHub Issues Stories in Ready Dependency Status devDependency Status docs XO code style downloads Commitizen friendly

local-repository-provider

repository provider using local (native) git commands

API

Table of Contents

LocalProvider

Extends Provider

Provider using native git executable

newWorkspacePath

Generate path for a new workspace For the livetime of the provider always genrate new names

Returns string path

repository

using provider workspace and number of repositories to create repository workspace

Parameters

defaultOptions

Default configuration options

  • workspace

Returns Object

optionsFromEnvironment

Parameters

  • env

Returns Object empty object

LocalRepository

Extends Repository

Properties

initialize

exec git clone or git pull

Parameters

LocalBranch

Extends Branch

Properties

commit

Excutes:

  • writes all updates into the workspace
  • git add
  • git commit
  • git push

Parameters

  • message string commit message
  • updates Array<Content> file content to be commited
  • options Object (optional, default {})

install

With npm do:

npm install local-repository-provider

license

BSD-2-Clause