Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/popomore/gitx
Use git with custom identity file
https://github.com/popomore/gitx
Last synced: 3 months ago
JSON representation
Use git with custom identity file
- Host: GitHub
- URL: https://github.com/popomore/gitx
- Owner: popomore
- Created: 2015-05-07T17:25:40.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-03T14:57:33.000Z (over 7 years ago)
- Last Synced: 2024-10-05T01:01:35.813Z (3 months ago)
- Language: JavaScript
- Size: 133 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
Awesome Lists containing this project
README
#Gitx
[![NPM version](https://img.shields.io/npm/v/gitx.svg)](https://npmjs.org/package/gitx)
[![Build Status](https://img.shields.io/travis/popomore/gitx.svg)](https://travis-ci.org/popomore/gitx)
[![AppVeyor Status](https://img.shields.io/appveyor/ci/popomore/gitx/master.svg)](https://ci.appveyor.com/project/popomore/gitx)
[![Coverage Status](https://img.shields.io/coveralls/popomore/gitx.svg)](https://coveralls.io/r/popomore/gitx)
[![NPM downloads](http://img.shields.io/npm/dm/gitx.svg)](https://npmjs.org/package/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.