错误写的已经很明显了,你的用户名和邮箱没有设置 git config --global user.name "你的用户名" git config --global user.email "你的邮箱"git config --global user.emial your@domain.comgit config --global user.name yourname
Git在提交的时候:user name and email must be set brfore commit.,就是说你的用户名和邮箱没有指定指定下就可以了
解决:在项目下执行以下命令 1 2 git config --global user.email"you@example.com" git config --global user.name"Your Name"
原因应该是你没有选中"config source"中的local、global、system选项,git配置分为这三种,界面上的<<符号表示,左侧的配置会覆盖右侧的。而你当前选中的Effective表示,这3个配置共同叠加后的结果,故不可编辑。建议切换到Global进行设置^_^ 打开bashgit --config useremail。name之类的先设置下 --list...
android studio使用git commit时提示我输入用户名和邮箱,输入确定后显示can't set user.name and user.email Couldn't set user.name and user.email: error: could not create parent directory of C:\WINDOWS\system32\config\systemprofile/.gitconfig 我曾使用git命令行的方式设置user.name和邮箱 $ git conf...
git remote set-url origin https://新用户名:新密码@远程仓库地址“`将“新用户名” 替换为你的新用户名, “新密码” 替换为你的新密码, “远程仓库地址” 替换为你的远程仓库的地址。 步骤4:确认更改是否成功使用以下命令来确认更改是否成功:“`git config user.namegit config user.email“`这将显示你的...
If user.name and/or user.email are not set in the git config, then git commit can potentially fail, with this message: $ git commit *** Please tell me who you are. Run git config --global user.email "you@example.com" git config --global ...
$ git config --global user.name "wirelessqa"$ git config --global user.email wirelessqa.me@gmail.com config 代码语言:javascript 代码运行次数:0 运行 AI代码解释 git config--global user.name JSLite # 设置提交用户名 git config--global user.email JSLite@yeah.net # 设置提交邮箱 ...
git config –global user.name “你的Github用户名” git config –global user.email “你的Github邮箱地址” 执行示例如下: 其实这个用户就是说明提交到码云的用户信息,可以从码云上看到,如下: 进入项目目录下,进行git初始化 代码语言:javascript 代码运行次数:0 ...
git config –global user.name “Your Name” git config –global user.email “your.email@example.com” “` 4. 使用HTTPS替代SSH:如果您使用SSH协议登录时失败,可以尝试使用HTTPS协议登录。使用`git remote set-url originhttps://github.com/username/repo.git`命令来将远程仓库的URL更改为HTTPS格式。