如何将我的 git 存储库推送到 dokku?
How do I push my git repository to dokku?
我是 Dokku 的新手,我将它与 DigitalOcean droplet 结合使用。
我正在关注这个 tutorial。
我的问题是,当我将 git 存储库从 Github 推送到 dokku 时,我收到此消息:
.git > git push -vvv dokku master
Pushing to dokku@dokku.me:my-rails-app
ssh: connect to host dokku.me port 22: Operation timed out
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
我检查了一下我是否与 Github 有联系,我似乎是:
my-rails-app > ssh -T git@github.com
Enter passphrase for key '/Users/xxxxx/.ssh/id_rsa':
Hi xxxxx! You've successfully authenticated, but GitHub does not provide shell access.
我知道存储库存在。知道为什么这个推送超时吗?我可能会失去哪些权利?
谢谢!
push dokku master 会推送到hte remote doku,就是你用
添加的那个
git remote add dokku dokku@dokku.me:ruby-rails-sample
因此,您是否连接到 GitHub 并不重要。
您需要确保 ssh -T dokku.me
正常工作。
这当然假设您已将 dokku.me 替换为您实际的 dokku 服务器的名称,如 dokku user management documentation comment.
所示
我是 Dokku 的新手,我将它与 DigitalOcean droplet 结合使用。
我正在关注这个 tutorial。
我的问题是,当我将 git 存储库从 Github 推送到 dokku 时,我收到此消息:
.git > git push -vvv dokku master
Pushing to dokku@dokku.me:my-rails-app
ssh: connect to host dokku.me port 22: Operation timed out
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
我检查了一下我是否与 Github 有联系,我似乎是:
my-rails-app > ssh -T git@github.com
Enter passphrase for key '/Users/xxxxx/.ssh/id_rsa':
Hi xxxxx! You've successfully authenticated, but GitHub does not provide shell access.
我知道存储库存在。知道为什么这个推送超时吗?我可能会失去哪些权利?
谢谢!
push dokku master 会推送到hte remote doku,就是你用
添加的那个git remote add dokku dokku@dokku.me:ruby-rails-sample
因此,您是否连接到 GitHub 并不重要。
您需要确保 ssh -T dokku.me
正常工作。
这当然假设您已将 dokku.me 替换为您实际的 dokku 服务器的名称,如 dokku user management documentation comment.