美文网首页
【GitHub学习笔记-05-Git的导入2】

【GitHub学习笔记-05-Git的导入2】

作者: 西布鲁克 | 来源:发表于2021-05-17 11:13 被阅读0次

2.3 安装

最近的Mac中都预装了Git。而各版本的Linux中也都以软件包(Package)的形式提供给用户了。

2.4 初始设置

设置姓名和邮箱地址

git config --global user.name "<your name>"
git config --global user.email "<your email name>"

为本地git设置在github网站上注册用户是填写的用户名和邮箱地址。

提高命令的可读性

git config --global color.ui auto

将color.ui设置为auto可以让命令的输出拥有更高的可读性。

相关文章

网友评论

      本文标题:【GitHub学习笔记-05-Git的导入2】

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