Wednesday, April 15, 2020

error: could not lock config file

Trouble setting up git with my GitHub Account error: could not lock config file

Solution:
Check in C:/Git   is there Desktop folder present or not in not create Desktop folder in C:/Git
and re run the command.
this will create ".gitconfig" file at this location.

if you are getting permissions issue then give the write permision at this folder and file.
if you are still getting  permissions issue then re-install git in different directory.

No comments:

Post a Comment