CLI tool 'git' is not accessible by default after clean installation of Xcode
| Originator: | nskboy | ||
| Number: | rdar://10585255 | Date Originated: | 15-Dec-2011 11:55 AM |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | 4.3 (4E57a) |
| Classification: | Other bug | Reproducible: | Always |
Summary: We can't start using git from command line after installing Xcode for the first time Steps to Reproduce: 1. Download dmg containing Xcode.app bundle 2. Open it and copy Xcode.app into /Applications 3. Launch Terminal.app and try to use git (e.g. invoke `git clone git://some.public/repo.git`) Expected Results: Successful cloning of repository located at git://some.public/repo.git Actual Results: Bash can't find git. -bash: git: command not found Regression: We were able to use git right after installation of Xcode 4.x. Notes: I can not use git even after I ran Xcode first time after installation. So I have to modify my ~/.profile manually to add required directories to PATH env variable.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!