conventional-changelog-action/node_modules/gitconfiglocal
Tycho Bokdam 999eba1f94
chore: Added node_modules to release branch
2019-10-18 11:54:08 +02:00
..
README.md chore: Added node_modules to release branch 2019-10-18 11:54:08 +02:00
index.js chore: Added node_modules to release branch 2019-10-18 11:54:08 +02:00
package.json chore: Added node_modules to release branch 2019-10-18 11:54:08 +02:00

README.md

Build Status

gitconfiglocal

parse the .git/config file into a useful data structure

example

var gitconfig = require('gitconfiglocal');

gitconfig('./',function(err,config){
  console.log(config);
  /* prints:
  { core: 
     { repositoryformatversion: '0',
       filemode: true,
       bare: false,
       logallrefupdates: true },
    remote: 
     { origin: 
        { url: 'git@github.com:soldair/node-gitconfiglocal.git',
          fetch: '+refs/heads/*:refs/remotes/origin/*' } } }
  */
});