【发布时间】:2015-03-09 20:33:10
【问题描述】:
我正在尝试使用 git 在 digitalocean 上推送我的第一个应用程序。服务器上安装了一个 dokku 实例。
我尝试了this Tutorial,但是当我尝试git push dokku master 时,它说:
fatal: 'testapp' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
【问题讨论】:
-
某个好人给了我一个提示:$ cat /c/users/[username]/.ssh/id_rsa.pub | ssh root@[serverIP] "sudo sshcomm and acl-add dokku [aRandomWord]" 现在它可以工作了!也许有人在那里,谁能解释这个命令的作用?谢谢