Sublime Textにrubocopを適応させようと思い、以下のマニュアル通りに実行したのですが、
=======
Manual:
Navigate to the Sublime Text Packages folder (You can find the location of the Packages folder here).
Run the git clone command right inside the packages directory: git clone git@github.com:pderichs/sublime_rubocop.git "RuboCop"
Restart Sublime Text.
=======
エラーが発生してしまいます。
=======
MBP:~ k$ cd ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/
MBP:Packages k$ git clone git@github.com:pderichs/sublime_rubocop.git "RuboCop"
Cloning into 'RuboCop'...
Warning: Permanently added the RSA host key for IP address '192.30.252.130' to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
=======
調べてみると下記の記述を見つけたので、
=======
■原因
git remote add したリポジトリのパスが間違ってる可能性が高い。
■対策
git remote rmしてパスを確認して、間違っているならaddし直す。
=======
『git remote rm』を実行して対処しようと試みたのですが、エラーが出てしまいます。
======
MBP:Packages k$ git remote rm
fatal: Not a git repository (or any of the parent directories): .git
======
どのようにすれば無事SublimeでRuboCopを使えるようになりますでしょうか?
あなたの回答
tips
プレビュー