GIT installation after homebrew reinstall in OSX Yosemite

De openkb
Aller à : Navigation, rechercher

Sommaire

Questions

After my Yosemite upgrade homebrew was not working. I had to remove the folders manually to reinstall it again. the installation process went fine. Installation of brew itself is fine.

Now I reinstalled GIT by downloading it using the brew (brew install git). It is installed to the directory /usr/local/bin/git. However, when I check the installation by checking its version (git --version), I get an error: **/usr/bin/git: No such file or directory**

I tried changing PATH in my profile to no avail. I have no .bashrc or .bash_profile in my system. Could someone help me with this?

Answers

I restarted my terminal, just to check. It worked like a charm...

So, not all installations are directly updating the relevant paths. It is better to restart the terminal before checking if an installation has gone through fine...!

Source

License : cc by-sa 3.0

http://stackoverflow.com/questions/27762498/git-installation-after-homebrew-reinstall-in-osx-yosemite

Related

Outils personnels
Espaces de noms

Variantes
Actions
Navigation
Outils