Browse Source
Fix "Invalid branch!" because of color.branch
pull/6186/head
Nyxtorm
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
server/modules/storage/git/storage.js
|
|
@ -48,7 +48,7 @@ module.exports = { |
|
|
|
// Disable quotePath, color output
|
|
|
|
// 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', 'color.ui', false]) |
|
|
|
await this.git.raw(['config', '--local', 'color.branch', false]) |
|
|
|
|
|
|
|
// Set default author
|
|
|
|
await this.git.raw(['config', '--local', 'user.email', this.config.defaultEmail]) |
|
|
|