我希望当我将更改推送到Github时,它们会自动拉到服务器上,这样我就可以使用此信息创建一个.git/hooks/post-update文件echo "**** Pulling changes into Live [Hub's post-update hook]"
cd /mydirector/html
menu_link_content make_menu_link_content_revisionable post-update Update custom menusystem clear_menu_cache post-update Clear the menu cachetaxonomy make_taxonomy_term_revisionable post
安装脚本执行shell命令(我不知道什么是安装脚本,我想它指的是钩子)$ git add .git/hooks/post-updateerror: Invalid path '.git/hooks/post-update' error: unable to add .git/hooks/post-update to index
因此