Can not see changes using git push

*爱你&永不变心* 提交于 2019-12-04 19:47:29
VonC

It is a bare repo, which means it has no working tree, no visible files.

See "all about "bare" repos".

You would need to add a post-receive hook to your bare repo in order to update a live site (like this one).

GIT_WORK_TREE=/path/to/your/site git checkout -f

See the full script in "unable to set GIT_WORK_TREE variable in a bare repository when using post_update hook".

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!