正しいアクセス権があり、リポジトリが存在することを確認してください。



Please Make Sure You Have Correct Access Rights



このエラーが発生した環境:

The local settings set the ssh key of multiple github accounts. The git repository that is remotely connected after the cd folder is another github account.
解決:
  1. フォルダにcdした後、最初にクローンを作成する必要があるgithubリポジトリに接続します。
git remote add origin root@xxxxx:aaa-app/project.git
  1. 接続されているリモートアカウントを表示します。
ssh -T root@xxxxx

この時点で表示されますHi gitcell! You've successfully authenticated, but GitHub does not provide shell access.
gitcellプロジェクトが配置されているgithubアカウントです。



  1. リモートリポジトリプロジェクトのクローンを作成する
git clone root@xxxxx:aaa-app/project.git

転載:https://www.jianshu.com/p/75ff065b2dc6