0.2.0 • Published 9 years ago
gitx v0.2.0
#Gitx
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.