-
-
Notifications
You must be signed in to change notification settings - Fork 503
Closed
Description
create-pull-request
currently assumes that the local config can be found in ./.git/config
:
create-pull-request/src/git-auth-helper.ts
Lines 18 to 22 in 84c5454
this.gitConfigPath = path.join( | |
this.git.getWorkingDirectory(), | |
'.git', | |
'config' | |
) |
However this might not always be true. In my case, I am in a bare repository, so the config file is actually at ./config
. Perhaps the git-dir should be identified with a call to git rev-parse --git-dir
or the local config file itself identified with something like EDITOR=echo git config --local --edit
?
Metadata
Metadata
Assignees
Labels
No labels