3.0.0 • Published 11 months ago

@financial-times/git v3.0.0

Weekly downloads
55
License
MIT
Repository
github
Last release
11 months ago

git

This library assists with common git operations such as cloning a repository, adding a file, committing a file and pushing to a remote.

This library is a thin wrapper around dugite, which provides JavaScript bindings for interacting with the git command line interface.

Usage

npm install @financial-times/git
const git = require('@financial-times/git');

git.defaults({ workingDirectory: '/tmp/repository' });

await git.clone({ repository: 'git@github.com:org/repository.git' });
await git.createBranch({ name: 'new-feature-branch' });

See src/index.js for all available methods and examples/ for usage examples.

3.0.0

11 months ago

2.1.1

2 years ago

2.1.0

3 years ago

2.0.0

4 years ago

1.2.0

4 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago