Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

yes, that is why you set path variable in your bash_profile so that when you do 'which git', you are not pointed to /usr/bin/git but /usr/local/bin/git. you might also want to do sudo chmod a-x to /usr/bin/git.


What about scripts that explicitly call /usr/bin/git?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: