I’m having trouble updating git configuration values. Whenever I try, I get an error saying could not lock config file
, and when I try to delete the .gitconfig file, I get the error No such file or directory
.
MacBook-Pro-10:~ Chris$ git config --global user.name "Chris Marshall"
error: could not lock config file /Users/Chris/.gitconfig: File exists
MacBook-Pro-10:~ Chris$ rm ~/.gitconfig
rm: /Users/Chris/.gitconfig: No such file or directory
Does anyone know why this might be happening?