2013-03-26 16 views
0

我有一個使用rsync推送的應用程序。要使用git,我走進.dotcloud/config並改變更改爲git作爲dotcloud的推送協議

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

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

但是,現在當我試圖推動:

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

我做了什麼錯?我找不到文檔來更改推送協議。

+0

這是有點像在http://stackoverflow.com/questions/5575878/unable-to-spawn-git-no-such-file-or-directory-on-a-specific-fork-on-github (ssh密鑰問題)? – VonC 2013-03-27 07:13:48

回答

0

使用Git協議的正確方法是在dotcloud.yml所在的目錄做一些像

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