windows上git安装

Git的官方网站:http://git-scm.com

1、下载:http://msysgit.github.com/

2、安装

3、配置

       用户名、邮箱 这个很重要将来项目提交的账号

  $ git config --global user.name "John Doe"

  $ git config --global user.email johndoe@example.com

  文本编辑器

$ git config --global core.editor Notepad++

差异化分析工具
  $ git config --global merge.tool vimdiff

查看配置信息
  $ git config --list
 
 
原文地址:https://www.cnblogs.com/cherish010/p/8418231.html