0

I just changed my windows user name. now when I want to update my e-mail on git using:

git config --global user.email "my_email@gmail.com"

I'm getting this message: error: Could not lock config file C:/Users/"MY OLD WINDOWS USER-NAME"/AppData/Roaming/SPB_Data/.gitconfig: No such file or directory.

How can I fix this?

tostao
  • 2,803
  • 4
  • 38
  • 61
  • https://stackoverflow.com/questions/35063493/changing-the-git-username – Flo Nov 21 '19 at 16:11
  • Does this answer your question? [how to change gitconfig location?](https://stackoverflow.com/questions/28690019/how-to-change-gitconfig-location) – GoodDeeds Nov 21 '19 at 21:55

0 Answers0