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不成功

Git Push问题remote: hooks/update:10 undefined method 'require_relative' for main:Object(NomethodError)_第1张图片


Git Push问题remote: hooks/update:10 undefined method 'require_relative' for main:Object(NomethodError)_第2张图片

你可能感兴趣的:(Git Push问题remote: hooks/update:10 undefined method 'require_relative' for main:Object(NomethodError))