我在Windows 7上使用Git Bash。我们使用GitHub作为代码库源。
每次我执行push或pull操作时,都需要提供用户名和密码凭据。我知道我的SSH密钥已正确设置,否则我将无法访问该存储库。(也就是说,一旦我输入凭据,push/pull操作就会正常工作。)
我已经输入了
git config --global user.name myusername
git config --global user.email myemail
git config --global github.user myusername
git config --global github.token mytoken
但是每次推送/拉取时仍然会要求我提供凭据。