This problem may require a re-examination of the following:
1. Android Studio Git installation Address: ..../git/cmd/git.exe
Remember to configure in the environment variable--path:,..../git/cmd
2. SSH connection to GitHub
Go to Git's installation directory and right-click to run Git_bash and follow the blog below.
http://blog.csdn.net/binyao02123202/article/details/20130891
3. When you enter the $ ssh-t [email protected] command to test SSH KEY, the following error occurs:
No such identity:/c/users/administrator.pc-201608030926/.ssh/id_rsa.github:
The config file needs to be added in the C:\USERS\ADMINISTRATOR.PC-201608030926\.SSH directory (directly modified if present)
Add the following to the config file (Id_rsa is the generated SSH Key file name):
Host github.com www.github.com identityfile ~/.ssh/id_rsa host git.company.com identityfile ~/.ssh/id_ Rsa
The presence of Permission denied (PublicKey) is caused by multiple SSH keys, and can also be set by the above method
4. Add SSH Key to GitHub
http://blog.csdn.net/vipzjyno1/article/details/22098621
5. Ssh-add ~/.ssh/rsa times wrong:Could not open a connection to your authentication agent
Perform the Eval ' ssh-agent ' (the one on the ~ key) before executing Ssh-add ~/.ssh/rsa success
Ssh-add-l's got a new RSA.
git clone--early EOF