git-scope-config
read or set git config from various location like global, system, file, local
Install
$ npm install --save git-scope-config
Example
JavaScript
var configGit = ;
Command Line reference
$ npm install --g git-scope-config$ git-scope-config --scope global --key github.user --value Yashprit Singh
Methods
var configGit = ;
set([key], [value], cb)
Set value for key in defined scope, created by above constructor. e.g. git config --global github.user Yashprit Singh
get([key], cb)
Get value for key, for above scope. If no key specified than get all key, similar to --get-all
unset([key], cb)
Unset value for given key, if no key specified than unset-all, using --unset-all
Run Test
npm test
Contribute or Report Issue
For bugs and feature requests, please create an issue.
License
MIT © Yashprit