highBandWidth
highBandWidth

Reputation: 17316

Change to git as the push protocol for dotcloud

I have an app that uses rsync to push. To use git, I went into .dotcloud/config and changed

    "push_branch": null,
    "push_protocol": "rsync"

to

    "push_branch": "some_branch",
    "push_protocol": "git"

However, now when I try to push:

$ dotcloud push
==> Pushing code with git, branch some_branch from "./" to application myapp
Error: Unable to spawn git

What did I do wrong? I couldn't find docs to change the push protocol.

Upvotes: 0

Views: 182

Answers (1)

highBandWidth
highBandWidth

Reputation: 17316

The correct way to use the git protocol is to do something like

dotcloud connect --git appname [--branch branchname]

in the directory where dotcloud.yml resides.

Upvotes: 0

Related Questions