Git for mac brew

broken image
broken image

I just had the same problem and solved it as follows:

broken image

Now, gitk should be on your path (along with an updated version of git). If you get an error indicating it could not link git, then you may need to change permissions/owners of the files it mentions.Īnd make sure it shows: /usr/local/bin/gitĪnd make the path change to put /usr/local/bin earlier in the path. Run the following commands at the terminal: brew update More thorough instructions located here: (see this commit extracting git-gui/gitk into its own formula: ) You can install a more recent version of git + git-ui as a separate formula by using brew. 1:Ĭorrect, the 1.7.12.4 (Apple Git-37) does not come with gitk. Version info (copied from comments): How to solve this problem? Solution no. Does anyone know how to install gitk on Mac?įrom their official website, it seems gitk comes with git, but the version of my git (git version 1.7.12.4 (Apple Git-37)) does not come with gitk.īrew install gitk does not work for gitk.