You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
452 B
JavaScript

9 years ago
'use strict';
const parse = require('./');
const gitconfig = {
email: 'email',
9 years ago
'remote "origin"': {
url: 'https://github.com/jonschlinkert/normalize-pkg.git',
fetch: '+refs/heads/*:refs/remotes/origin/*'
},
'branch "master"': {
remote: 'origin', merge: 'refs/heads/master'
},
'branch "dev"': {
remote: 'origin', merge: 'refs/heads/dev', rebase: true
}
};
const config = parse.expandKeys(gitconfig);
console.log(config);