物理の駅 Physics station by 現役研究者

テクノロジーは共有されてこそ栄える

Visual Studio 2019: Gitでたまに出るerror: could not lock config fileのエラー

error: could not lock config file C:/Windows/%HOMEDRIVE%%HOMEPATH%/.gitconfig: No such file or directory

%userprofile%.gitconfig を削除するか、Git for Windowsを再インストールすると治る。なんでだろう。

Visual Studio 2019 16.4.5