|
|
@ -45,9 +45,10 @@ module.exports = {
|
|
|
|
await this.git.init()
|
|
|
|
await this.git.init()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Disable quotePath
|
|
|
|
// Disable quotePath, color output
|
|
|
|
// Link https://git-scm.com/docs/git-config#Documentation/git-config.txt-corequotePath
|
|
|
|
// Link https://git-scm.com/docs/git-config#Documentation/git-config.txt-corequotePath
|
|
|
|
await this.git.raw(['config', '--local', 'core.quotepath', false])
|
|
|
|
await this.git.raw(['config', '--local', 'core.quotepath', false])
|
|
|
|
|
|
|
|
await this.git.raw(['config', '--local', 'color.ui', false])
|
|
|
|
|
|
|
|
|
|
|
|
// Set default author
|
|
|
|
// Set default author
|
|
|
|
await this.git.raw(['config', '--local', 'user.email', this.config.defaultEmail])
|
|
|
|
await this.git.raw(['config', '--local', 'user.email', this.config.defaultEmail])
|
|
|
|