gitx

0.2.0 • Public • Published

Gitx

NPM version Build Status Build Status NPM downloads

Use git with custom identity file


Install

$ npm install gitx -g

Usage

$ gitx -i ~/.ssh/id_rsa clone git@github.com:popomore/test-id.git

API

var git = require('gitx')(process.env.HOME + '/.ssh/id_rsa');

// use child_process.spawn
git.spawn(['clone', 'git@github.com:popomore/test-id.git'], {stdio: 'inherit'});

// use child_process.exec
git.exec('clone git@github.com:popomore/test-id.git', {stdio: 'inherit'});

LICENSE

Copyright (c) 2015 popomore. Licensed under the MIT license.

Package Sidebar

Install

npm i gitx

Weekly Downloads

1

Version

0.2.0

License

MIT

Last publish

Collaborators

  • popomore