-
设置你的名字和email,这些就是你在提交commit时的签名,每次提交记录里都会包含这些信息。使用git config命令进行配置:
git config --global user.name "Scott Chacon" git config --global user.email "schacon@gmail.com"
执行了上面的命令后,会在家目录(/home/sytu)下建立一个叫.gitconfig 的隐藏文件 ls -al查看
这个配置文件就是Git全局配置的文件,一般配置方法是git config --global <配置名称> <配置的值>
//peking university cs self-learning
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__早fun早超生__ -- sytu | |
"这么做会离那个梦更近一些吗" | |
---------- | |
NewerOlder