android-studio - android studio使用git commit时输入用户名和邮箱显示can’t set user.name?

浏览:31日期:2023-08-26

问题描述

android studio使用git commit时提示我输入用户名和邮箱,输入确定后显示can’t set user.name and user.emailandroid-studio - android studio使用git commit时输入用户名和邮箱显示can’t set user.name?

Couldn’t set user.name and user.email: error: could not create parent directory of C:WINDOWSsystem32configsystemprofile/.gitconfig

我曾使用git命令行的方式设置user.name和邮箱

$ git config --global user.name'名字'$ git config --global user.email 邮箱

还是没有解决上述问题

问题解答

回答1:

…… 感觉是英文水平问题 ……Couldn’t set user.name and user.email: error: could not create parent directory of C:WINDOWSsystem32configsystemprofile/.gitconfig

不能建立上级文件夹C:WINDOWSsystem32configsystemprofile/.gitconfig

相关文章: