https://github.com/awinterman/node-git-credential
get yer git credentials.
https://github.com/awinterman/node-git-credential
Last synced: 17 days ago
JSON representation
get yer git credentials.
- Host: GitHub
- URL: https://github.com/awinterman/node-git-credential
- Owner: AWinterman
- Created: 2013-05-06T05:20:44.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2013-05-06T05:22:39.000Z (about 13 years ago)
- Last Synced: 2025-03-01T06:27:00.935Z (over 1 year ago)
- Language: JavaScript
- Size: 105 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# git-credential #
A module for accessing
[git-credentials](https://www.kernel.org/pub/software/scm/git/docs/gitcredentials.html) from a node process. Note that this requires a version of git >= 1.7.12
## Usage:
```javascript
var credential = require("git-credential")
credential(function(err, data){
if (err) return console.log(err)
// if you run this it'll print your username and pass to the command line.
// you might not want that
console.log(data)
})
```