Home  >  Q&A  >  body text

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 days ago853

reply all(2)I'll reply

  • 高洛峰

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

    No empty warehouse is created,

    reply
    0
  • 仅有的幸福

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

    Needs to be in gitlab dev组下创建Project node_mongodb Just creating it locally is not enough

    reply
    0
  • Cancelreply