Git Push问题remote: hooks/update:10 undefined method 'require_relative' for main:Object(NomethodError)

今天在提交代码时遇到到了一个非常蛋疼的问题,remote: hooks/update:10 undefined method 'require_relative' for main:Object(NomethodError)

找了非常多网上的资料也不行,最后无意中解决掉了。。。

因为我用的是sourceTree工具。可能是不小心更改了设置,把类型弄成了其他,不是git了,导致代码push不成功




posted @ 2017-07-24 16:25  zhchoutai  阅读(319)  评论(0编辑  收藏  举报