原因应该是你没有选中"config source"中的local、global、system选项,git配置分为这三种,界面上的<<符号表示,左侧的配置会覆盖右侧的。而你当前选中的Effective表示,这3个配置共同叠加后的结果,故不可编辑。建议切换到Global进行设置^_^
git config --global user.name "Your Name Here" git config --global user.email your@email.example You can check your Git settings with: git config user.name && git config user.email If you are in a specific repo which you setup a new user/config for (different to global) then...
The command to set the local git config email and username is as follows: git config --global user.email "you@example.com"git config --global user.name "cameronmcnz" It can be annoying hitting thefatal: unable to auto-detect email addresserror message when you...
Execute command:git config user.name "Crunchify, LLC" That’s it. Now you could use different username/email for each separate github or bitbucketrepository. If you liked this article, then please share it on social media. Have a question or suggestion? Please leave a commen...
The steps include, setting up a username and then providing an email address, so that you can commit the changes, when you use $git commit -m "message to display" command. For username: $git config --global user.name "xyz" For email address: $git config --global user.email anything...
git config--globaluser.email"you@example.com"git config--globaluser.name"Your Name" 第二种,为项目单独设置 因我的电脑有多个git账户,所以不想通过设置全局邮箱和名字来解决。 进入到项目目录,找到 .git 文件夹,进入到里面,打开config文件。 添加如下三行 ...
Install Git Git 的下载 去Git 官网下载对应系统的软件,下载地址为http://git-scm.com、http://gitforwindows.org,或者阿里镜像 上面的 git-scm 是 Git 的官方,里面有不同系统不同平台的安装包和源代码,而Git for Windows里只有 windows 系统的安装包 ...
There are a number of different ways to customize your development environment, but the global Git config file is the one most likely to be used to customize settings such as your username, email, preferred text editor and remote branches. Here are the key things you need to know ...
$GIT_DIR/config 仓库特定的配置文件。 实例 a) 设置用户名与用户邮件 ID $ git config --global user.name "huey" $ git config --global user.email "huey@example.com" b) 设置颜色高亮 $ git config --global color.ui true c) 列出当前的配置选项 ...