発生している問題
タイトルの通りにSourceTreeからのプッシュでエラーが吐き出されて、実行できません。
SourceTreeを使用したローカルでのコミットは可能です。
SourceTreeでコミットしたファイルはターミナルでプッシュ可能です。
ssh -T git@github.com
でもYou've successfully authenticated, but GitHub does not provide shell access.
と言ってくれます。
Pushing to ssh://git@github.com/ユーザー名/リポジトリ名.git 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. Pushing to ssh://git@github.com/ユーザー名/リポジトリ名.git 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. Pushing to ssh://git@github.com/ユーザー名/リポジトリ名.git 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. Pushing to ssh://git@github.com/ユーザー名/リポジトリ名.git 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.
正しいアクセス権を持っていることを確認しろとのことですが、どこから確認をするのか、どのように提示するのかが分かりません。
ターミナルではアクセスできているので、アクセス権の問題ではなくSourceTreeの問題と考えているのですが、問題解決までの方向性が間違っているのでしょうか?
よろしくお願いいたします。
補足情報
macOS Mojave 10.14.3
git version 2.17.1
SourceTree 3.1.1
回答3件
あなたの回答
tips
プレビュー