解决:在项目下执行以下命令 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...
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 config --global user.name"名字" $ git config --global user.email 邮箱 还是没有解决上述问题gitandroid-stu...
git config --global user.name "你的用户名" git config --global user.email "你的邮箱"git config --global user.emial your@domain.comgit config --global user.name yourname
git remote set-url origin https://新用户名:新密码@远程仓库地址“`将“新用户名” 替换为你的新用户名, “新密码” 替换为你的新密码, “远程仓库地址” 替换为你的远程仓库的地址。 步骤4:确认更改是否成功使用以下命令来确认更改是否成功:“`git config user.namegit config user.email“`这将显示你的...
Git在提交的时候:user name and email must be set brfore commit.,就是说你的用户名和邮箱没有指定指定下就可以了
git config--list// 查看是否设置了user.name与user.email,没有的话,去设置// 设置全局的user.name与user.emailgit config--global user.name"XX"git config--global user.email"XX" 3. 输入 ssh-keygen 即可(或`ssh-keygen -t rsa -C "email"`) ...
VSCode Version: 1.52.0 OS Version: Windows 10 Version 1909 18363.1198 + Windows Server 2019 Version 1809 17763.1577 Steps to Reproduce: Update to Visual Studio Code 1.52.0 Have empty values for user.name and user.email in git config (git...
Set a Git username: git config user.name "Mona Lisa" Confirm that you have set the Git username correctly: $git config user.name>Mona Lisa Further reading Setting your commit email address "Git Configuration" from thePro Gitbook Privacy policy ...
Seen: User name and email must be set before commit. Do you want to set these now? What version of TortoiseGit and Git are you using? On what operating system? version 2.8.0.0 Windows 7 64 bit Please provide any additional information below. ...