PR Build Error 'error: could not lock config file'...
I'm having an issue with building specifically pull requests:
Build started
error: could not lock config file %HOMEDRIVE%%HOMEPATH%/.gitconfig: No such file or directory
Command exited with code 255
Build failed
Building normal commits work without any issues. I verified the .gitconfig
file exists for the proper user, permissions are correct and there is no lock file. This started after upgrading git from 2.28.0 to 2.31.1. I uninstalled and downgraded back to 2.28.0 but still having the issue. It's odd since normal commits are building without any issue. Is there any difference on how PRs are built?
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by Matt on 06 Apr, 2021 05:15 PM
Update: It's working.
I created a new user profile and set the host service to logon with that account and it's now working. Still not sure why normal commits worked but not PRs.