【发布时间】:2012-12-20 10:22:12
【问题描述】:
我正在使用 resmo 的 git-ftp。 https://github.com/resmo/git-ftp。 当我像这样运行第一个 init 命令(以及 olso 推送)时
git ftp init -vv -u xxxxxxx@aruba.it -p - ftp.mydomain.com
有一个致命的问题
There are 1 files to sync:
[1 of 1] Buffered for upload 'index.php'.
Uploading ...
fatal: Could not upload file: '.git-ftp.log'., exiting...
fatal: Could not upload., exiting...
这里有完整的共鸣http://jsfiddle.net/ehijon/PHwpw/
请确保我在“.git”本地文件夹中设置了配置文件:
[git-ftp]
user = xxxxxxx@aruba.it
url = ftp://ftp.mydomain.com
password = xxmypassxx
deployedsha1file = public/.git-ftp.log
在我使用 777 权限在远程设置“公共”文件夹但在本地我没有此文件 (.git-ftp.log) 后...我该怎么做才能创建它?
我尝试在远程手动创建它,只是为了知道我是否有权限并且我可以。
ftp 用户和密码正确。我可以做些什么来解决这个问题?
【问题讨论】:
-
如果问题得到解决,请将您的编辑从上面移到答案中,即该问题已从“未回答”列表中删除;)
-
好的,我成功了,谢谢:)