每当我生成一个新的终端窗口时,我都需要键入以下命令才能使用git:
> cd ~/.ssh
> eval `ssh-agent -s`
> ssh-add git_rsa
如果我没有收到此错误:
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
我该怎么做才能确保不必每次都键入这些命令?