在我们执行git pull等一些操作的时候,会提示你它不知道你是谁,你就需要配置name和email.那么在执行git config --global user.name [username]
的时候也有时候会报Is a directory
的错误.遇到这种情况就需要首先找到你的.getconfig文件,你会发现它竟然是一个文件夹.把它删除掉.然后再执行就可以了.
在我们执行git pull等一些操作的时候,会提示你它不知道你是谁,你就需要配置name和email.那么在执行git config --global user.name [username]
的时候也有时候会报Is a directory
的错误.遇到这种情况就需要首先找到你的.getconfig文件,你会发现它竟然是一个文件夹.把它删除掉.然后再执行就可以了.
本文标题:Git:git config --global user.nam
本文链接:https://www.haomeiwen.com/subject/labhnxtx.html
网友评论