首页 > 代码库 > Git 客户端基本配置

Git 客户端基本配置

Welcome to Git (version 1.9.4-preview20140611)Run git help git to display the help index.Run git help <command> to display help for specific commands.Tingkuo@ARLEN-PC ~$ git config --global user.name "Zhang Tingkuo"Tingkuo@ARLEN-PC ~$ git config --global user.email "zhangtingkuo@gmail.com"Tingkuo@ARLEN-PC ~$ ssh-keygen -t rsa -C "zhangtingkuo@gmail.com"Generating public/private rsa key pair.Enter file in which to save the key (/c/Users/Tingkuo/.ssh/id_rsa):Created directory /c/Users/Tingkuo/.ssh.Enter passphrase (empty for no passphrase):Enter same passphrase again:Your identification has been saved in /c/Users/Tingkuo/.ssh/id_rsa.Your public key has been saved in /c/Users/Tingkuo/.ssh/id_rsa.pub.The key fingerprint is:5f:b6:32:81:a2:5e:24:e4:9a:f2:1c:1a:29:08:93:56 zhangtingkuo@gmail.comTingkuo@ARLEN-PC ~$