conventional-changelog-action/node_modules/gitconfiglocal
Conventional Changelog Action 9b8c94a880 chore(release): v3.13.0 [skip ci] 2022-05-27 14:13:36 +00:00
..
README.md chore(release): v3.13.0 [skip ci] 2022-05-27 14:13:36 +00:00
index.js chore(release): v3.13.0 [skip ci] 2022-05-27 14:13:36 +00:00
package.json chore(release): v3.13.0 [skip ci] 2022-05-27 14:13:36 +00: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/*' } } }
  */
});