Can't locate Git.pm in @INC

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

    I met the same issue on my Mac OS 10.9.4, and fixed it with the following command:

    $ sudo ln -s /Library/Developer/CommandLineTools/usr/share/git-core /usr/share/
    

提交回复
热议问题