一、Git的安装 1.1 安装 安装,除了安装位置外,其他一直下一步即可 1.2 基本配置 安装之后,打开cmd,自报家门 如下信息会在提交代码时使用,记录在你的每次提交中,以后才知道哪次提交是谁做的。 git config --global user.name "Your Name" #用户名 git config --global user.email "email@example.com" #邮箱 #查看信息 git config -l 1.3测试 测试:cmd中执行,查看git版本