Git是分布式版本控制系统,GitHub 是最大的 Git 版本库托管商,是成千上万的开发者和项目可以合做进行的中心。 大部分 Git 版本库都托管在 GitHub,不少开源项目使用 GitHub 实现 Git 托管、问题追踪、代码审查以及其它事情。git
所须要作的第一件事是建立一个免费帐户。 直接访问 https://github.com,选择一个未被占用的用户名,提供一个电子邮件地址和密码,点击写着`‘Sign up for GitHub’'的绿色大按钮便可。github
注册成功后填写相关信息,以后下载咱们的 Git工具windows
下载地址:分布式
1. window git安装包工具
https://git-for-windows.github.io/学习
2. macspa
Git安装工具:http://sourceforge.net/projects/git-osx-installer/.net
经过Xcode安装:Xcode->Preferences->Downloads,选择“Command Line Tools”版本控制
$ git init
$ git config user.name 'github用户名'
$ git config user.email '邮箱'
git config --list
code
经常使用git命名和git学习文档 下载地址 https://github.com/DickyQie/Tool-use/tree/git-learning-document