如何使用git-ftp将特定的子文件夹( html5样板的发布文件夹)推送到指定的ftp目录?
发布于 2012-10-18 05:03:38
有两种可能性:
A
在该存储库中,将发布文件夹设置为git
B (更好)
使用git-ftp的syncroot option指定要从中进行同步的目录,就像它是git项目的根路径一样。在git-ftp下的.git/config中添加
syncroot = publish/https://stackoverflow.com/questions/11889760
复制相似问题