ホームページ  >  に質問  >  本文

ubuntu - gitlab sshkey已经加了但是push一直失败

mkdir node_mongodb
cd node_mongodb
git init
touch README.md
git add README.md
git commit -m "first commit"
git remote add origin git@192.168.0.199:dev/node_mongodb.git
git push -u origin master

提示
Pushing to git@192.168.0.199:dev/node_mongodb.git
Access denied.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

ringa_leeringa_lee2704日前852

全員に返信(2)返信します

  • 高洛峰

    高洛峰2017-04-28 09:06:50

    空の倉庫は作成されません

    返事
    0
  • 仅有的幸福

    仅有的幸福2017-04-28 09:06:50

    gitlab にある必要があります dev组下创建Project node_mongodb ローカルで作成するだけでは十分ではありません

    返事
    0
  • キャンセル返事