RT,我想在我本地設置多個git賬戶,同時應對gitlab/github的工作。我按照搜索的教程來做了,可以push到github遠端了,雖然名字跟我設置的對的上,但是githubcommitlog上的名字卻無法對應上我的賬戶,也就是名字上沒有鏈接。請問是我哪里姿勢不對?Hostgithub.comHostNamegithub.comUsergitnamePreferredAuthenticationspublickeyIdentityFile/Users/xx/.ssh/id_rsa_githubHostgitlab.comHostNamegitlabUsergitPreferredAuthenticationspublickeyIdentityFile/Users/xx/.ssh/id_rsa我有首先unset全局設置,然后本地設置,名字跟github賬戶的名字對的上,但是push上去之后就是不能識別。順帶sshkeys也設置了。PS:我校驗了應該是可以連接到GitHub的。[email protected]!You'vesuccessfullyauthenticated,butGitHubdoesnotprovideshellaccess.
同一客戶端設置多個git賬戶
繁星coding
2019-05-13 07:55:36