Push to .git but denied to wrong user , finally solved
问题 I googling a lot. but it still report an error after execute 'git push -u origin master'. Finally I execute 'git push -u origin master' success, but I really don't know where the error is. Please read on patiently the content as follow. 1, I've had a git account 'HelenZeng', now I have another account 'Snowbabe' 2, I generate two ssh key, one is id_rsa_helen, another is id_rsa_snow 3, I touch ~/.ssh/config #github.snowbabe Host github.com-Snowbabe HostName github.com User Snowbabe