Can't locate Git.pm in @INC

前端 未结 6 1053
暖寄归人
暖寄归人 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:25

    On OSX (and Homebrew) I fixed this by simply reinstalling:

    $ brew uninstall git
    $ brew install git
    

提交回复
热议问题