美文网首页
Git---配置文件(Config)

Git---配置文件(Config)

作者: WorldPeace_hp | 来源:发表于2018-10-09 16:58 被阅读0次

使用git时我们需要配置一下自己的基本信息,如:user.name、user.email等。下面是基本的增删改查。

//查
git config --global --list 
git config --global user.name 

//增
git config  --global --add user.name my_name

//删
git config  --global --unset user.name 

//改
git config --global user.name my_name

配置文件中所有key:

user.name
user.email
...

相关文章

网友评论

      本文标题:Git---配置文件(Config)

      本文链接:https://www.haomeiwen.com/subject/kflyaftx.html