eugeneware / eugeneware/git-config
Gets only the last values when section in gitconfig is duplicated
Open
- Dominant language
- JavaScript
- Stars
- 25
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
For some reason, in my `.gitconfig` I have the `[user]` section duplicated (on windows).
So it looks like this:
```
[user]
name = Zoltan Kochan
[user]
email = zoltan@xxx.xxx
```
git-config returns a config with a user property that contains only the email:
``` js
{
user: {
email: 'zoltan@xxx.xxx'
}
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.