Git 命令大全
下载地址
GitHub for Windows
htps://windows.github.com
GitHub for Mac
htps://mac.github.com
Git for All Platforms
htp://git-scm.com
命令
配置命令
$ git config –global user.name “[name]”
Sets the name you want atached to your commit transactions
$ git config –global user.email “[email address]”
Sets the email you want atached to your commit transactions
$ git config –global color.ui auto
Enables helpful colorization of command line output
创建版本库
$ git init [project-name]
Creates a new local repository with the specified name
$ git clone [url]
Downloads a project and its entire version history