Heim  >  Fragen und Antworten  >  Hauptteil

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_lee2754 Tage vor909

Antworte allen(2)Ich werde antworten

  • 高洛峰

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

    空仓库创建没有,

    Antwort
    0
  • 仅有的幸福

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

    需要在gitlab里 dev组下创建Project node_mongodb 光本地创建是不行的

    Antwort
    0
  • StornierenAntwort