git配置

$ ssh-keygen -t rsa -C "[email protected]"
Generating public/private rsa key pair.
Enter file in which to save the key (/c/Documents and Settings/Administrator/.ss
h/id_rsa):
/c/Documents and Settings/Administrator/.ssh/id_rsa already exists.
Overwrite (y/n)? y
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /c/Documents and Settings/Administrator/.s
sh/id_rsa.
Your public key has been saved in /c/Documents and Settings/Administrator/.ssh/i
d_rsa.pub.
The key fingerprint is:
5c:fc:78:97:1a:e4:5b:9a:c7:08:6f:23:50:6c:9b:24 [email protected]

Administrator@SWEET /F
$ git config --global user.name "sweet"

Administrator@SWEET /F
$ git config --global user.email "[email protected]"

#test
Administrator@SWEET /F
$ ssh -T [email protected]
$ ssh -v [email protected]


你可能感兴趣的:(git,bash)