Can't locate Git.pm in @INC

前端 未结 6 1055
暖寄归人
暖寄归人 2021-01-17 10:16

When I run git add -p, I see:

Can\'t locate Git.pm in @INC (@INC contains:
/usr/local/lib/perl5/site_perl
/Library/Perl/5.12/darwin-thread-multi-2lev         


        
6条回答
  •  滥情空心
    2021-01-17 10:18

    It can be fixed via SymLink. I just couldn't be asked to do that, but instead I reinstall git using brew uninstall git and brew install git, which does the trick for me.

提交回复
热议问题