Reputation: 155
I want to configure the git in jenkins,but I can't find the install path of git in my mac. can you help me ?
Upvotes: 11
Views: 59259
Reputation: 1207
For Linux we can use any of the following commands to find the location of GIT installation directory.
1. type git
2. which git
3. command -v git
4. whereis git
Upvotes: 7
Reputation: 1816
Execute in terminal
$ which git
that produces output
/usr/bin/git
on Linux. If you are looking for where is install directory on MAC and you installed git with brew then
brew info git
on Debian
dpkg -L git
Upvotes: 45