git使用一

1. git 官网
http://github.com

2.git 帮助文档
http://help.github.com/win-set-up-git/

3. git 生成key 及在本地设置global用户名及邮箱:
a.安装git bash
    windows下载地址:http://code.google.com/p/msysgit/downloads/list
b.
$ cd ~/.ssh

$ ssh-keygen -t rsa -C "名称"
四次回车

$ git config --global user.name "Firstname Lastname"
$ git config --global user.email "[email protected]"

猜你喜欢

转载自413316ym.iteye.com/blog/1164611