1 修改配置文件法 remote: error: hook declined to update refs/heads https://www.cnblogs.com/lanrumeng/p/12313395.html 2 修改日志法 git报错:remote: error: hook declined to update refs/heads/master https://blog.csdn.net/chaoyu168/article/details/97749951