git安装

xiaoxiao2021-02-28  62

文章来源:https://git-scm.com/book/zh/v1/起步-安装-Git

在 Windows 上安装

在 Windows 上安装 Git 同样轻松,有个叫做 msysGit 的项目提供了安装包,可以到 GitHub 的页面上下载 exe 安装文件并运行: http://msysgit.github.com/

用户信息

第一个要配置的是你个人的用户名称和电子邮件地址。这两条配置很重要,每次 Git 提交时都会引用这两条信息,说明是谁提交了更新,所以会随更新内容一起被永久纳入历史记录:

$ git config --global user.name "John Doe" $ git config --global user.email johndoe@example.com
转载请注明原文地址: https://www.6miu.com/read-2631809.html

最新回复(0)