Git warning: unable to access 'P:\/.gitconfig': Invalid argument

前端 未结 14 1822
情书的邮戳
情书的邮戳 2021-02-05 02:07

I am just testing git. I ran the following command:

git config user.email \"test@mail.com\"

I now get this when git status and oth

14条回答
  •  执笔经年
    2021-02-05 02:38

    Thanks @daniel-hilgrath, your answer helped me till an extent, it did solve for that particular session.

    But in my case I was using SourceTree and on Windows 7. I had to wipe out the Environment variables completely, not only for particular session. I did following.

    SETX HOMEPATH ""
    SETX HOMEDRIVE ""
    

    may be this could be useful for someone who is using this on SourceTree.

提交回复
热议问题