1 Star 3 Fork 0

Git工具集 / git_osx_installer

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
contribute
Sync branch
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README
MIT

FAQ

I have XCode installed (and consequently its bundled git); how do I get my system to use this version instead?

Xcode installs its git to /usr/bin/git; recent versions of OS X (Yosemite and later) ship with stubs in /usr/bin, which take precedence over this git. To overcome, do the following:

sudo mv /usr/bin/git /usr/bin/git-system
sudo ln -sf /usr/local/git/bin/git /usr/bin/git

Note, you will need to restart your shell after so-doing, as most shells (bash) cache command location resolution from PATH.

Which version should I download?

If you are running:

  • 10.6 Snow Leopard: git-*-snow-leopard
  • 10.7 Lion: git-*-snow-leopard
  • 10.8 Mountain Lion: git-*-snow-leopard
  • 10.9 Mavericks: git-*-mavericks
  • 10.10 Yosemite: git-*-mavericks
  • 10.11 Yosemite: git-*-mavericks

The Snow Leopard builds will work on Mavericks and later, but there are issues running git gui.

It doesn't work. Help!

Scream where you can be heard. File an issue here: https://github.com/timcharper/git_osx_installer/issues

Changes / Recent updates

2015-10-18

Builds have been updated to create symlinks in /usr/local/bin to run git. El Capitan no longer allows modifications to /usr/bin, and /usr/local/bin is preferred over /usr/bin, by default.

The installer installs the uninstall.sh script, which has also been updated to remove the new symlinks created.

The installer no longer uses PackageMaker. Instead, it uses pkgbuild, which is much simpler, and is the supported way of doing packages.

2014-12-21

Mavericks builds have been published to address issues running git gui. Going forward, Snow Leopard and Mavericks builds will be published.

Also, the Makefile has been fixed to enable 32-bit builds of the OS X keychain credential helper. Universal builds have returned, reducing one more decision the user has to make when determining the appropriate download version.

2014-12-20

32-bit builds for Snow Leopard (and later) are back. These were created on a 64-bit installation of Mac OS X Snow Leopard.

2014-12-19 - CVE-2014-9390 Fix, and improved build process.

CVE-2014-9390 security fix

As announced on the git mailing list, git for OS X

The following versions contain the fix:

  • 2.2.1
  • 2.1.4
  • 2.0.5
  • 1.9.5
  • 1.8.5.6

Support for older operating systems restored / apology

64-bit builds for Snow Leopard (and later) have been published. There was an issue with the build script in which the compilation Framework was not being properly specified, and this effectively caused it to be ignored. As a result, the builds were not working on 10.8.x and earlier. I apologize deeply for this error. Further compounding the issue was lack of feedback channels, and the negative reviews were not emailed to me. This was my fault as I did not set up adequate instructions for how to ask for help. I've updated the project home page with a link to the GitHub issue tracker, and have done various cleanup to reduce clutter remaining since the transition from Google Code.

Improved build process

The build process has been greatly improved; the cumbersome script has been replaced with a more declarative Makefile. A check has been added to assert that the 32-bit package actually contain 32-bit executables.

Copyright (c) 2012 Tim Harper and contributors. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

mac 的 git 安装包 expand collapse
Shell
MIT
Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
Shell
1
https://gitee.com/vcs-all-in-one/git_osx_installer.git
git@gitee.com:vcs-all-in-one/git_osx_installer.git
vcs-all-in-one
git_osx_installer
git_osx_installer
master

Search