Skip to content

popomore/gitx

Repository files navigation

#Gitx

NPM version Build Status AppVeyor Status Coverage 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.

About

Use git with custom identity file

Resources

Stars

Watchers

Forks

Packages

No packages published