Skip to content

Instantly share code, notes, and snippets.

@9wick
Last active February 5, 2018 04:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 9wick/2e050942af173108864a95938ae27ef6 to your computer and use it in GitHub Desktop.
Save 9wick/2e050942af173108864a95938ae27ef6 to your computer and use it in GitHub Desktop.
macOSのアップデートをした後にsshキーが無いと言われた ref: https://qiita.com/wicket/items/da88cf2914e4f72842b3
git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree push -v origin refs/heads/master:refs/heads/master
Pushing to git@github.com:9wick/xxxx.git
ssh_askpass: exec(/usr/X11R6/bin/ssh-askpass): No such file or directory
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Completed with errors, see above
ssh-add ~/.ssh/id_rsa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment