使用 git 部署到 digitalocean 上的 dokku

Deploy with git to dokku on digitalocean

我正在尝试使用 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]"