gitx
v0.2.0
Published
Use git with custom identity file
Downloads
8
Maintainers
Readme
#Gitx
Use git with custom identity file
Install
$ npm install gitx -g
Usage
$ gitx -i ~/.ssh/id_rsa clone [email protected]:popomore/test-id.git
API
var git = require('gitx')(process.env.HOME + '/.ssh/id_rsa');
// use child_process.spawn
git.spawn(['clone', '[email protected]:popomore/test-id.git'], {stdio: 'inherit'});
// use child_process.exec
git.exec('clone [email protected]:popomore/test-id.git', {stdio: 'inherit'});
LICENSE
Copyright (c) 2015 popomore. Licensed under the MIT license.