简体   繁体   中英

Git, Tower, and Sourcetree

I'm trying out both Tower and Sourcetree GUIs on my Mac and I have two very basic questions:

  • Do either of these GUIs install the Git executables or do they use the Git installed on my Mac?
  • Where would Git be installed on my Mac? At the command prompt I've typed "which git", but it clearly isn't in the PATH so no luck with that. It's weird because I swear it used to be in the PATH.

I don't know Tower, but you can see in Sourcetree's settings that it can either use the system Git (I think a version of Git is already embedded in Mac OS X) or a version embedded within the Sourcetree application.

On my system which git gives me:

/usr/bin/git

It should be in the path, if you didn't change anything.

As Tower comes with a fully functional Git binary, you don't have to install Git on your system to use Tower. If you also want to use Git on the command line, though, we recommend you use the OS X installer or MacPorts (if present on your system).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM