doc: git install command #27049

pull BitcoinMechanic wants to merge 1 commits into bitcoin:master from BitcoinMechanic:osx-instructions changing 1 files +6 −0
  1. BitcoinMechanic commented at 3:57 AM on February 6, 2023: none

    This is just a documentation error - git does not come pre-installed on macOS.

  2. git install command 7309131a12
  3. DrahtBot commented at 3:57 AM on February 6, 2023: member

    <!--e57a25ab6845829454e8d69fc972939a-->

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

    See the guideline for information on the review process. A summary of reviews will appear here.

  4. BitcoinMechanic renamed this:
    git install command
    documentation: git install command
    on Feb 6, 2023
  5. MarcoFalke renamed this:
    documentation: git install command
    doc: git install command
    on Feb 6, 2023
  6. DrahtBot added the label Docs on Feb 6, 2023
  7. in doc/build-osx.md:60 in 7309131a12
      53 | @@ -54,6 +54,12 @@ brew install automake libtool boost pkg-config libevent
      54 |  ### 4. Clone Bitcoin repository
      55 |  
      56 |  `git` should already be installed by default on your system.
      57 | +If it is not, install it with the following command:
      58 | +
      59 | +``` bash
      60 | +brew install git
    


    Sjors commented at 9:28 AM on February 6, 2023:

    I haven't tried reinstalling macOS recently, but this seems unlikely, because homebrew itself uses Git. It does ship a more recent version, but that's only useful for codereview.


    hebasto commented at 9:53 AM on February 6, 2023:

    Agree. On my system, the /usr/bin/git is not a Homebrew's package.

    Hasn't it been installed by xcode-select --install command?


    pinheadmz commented at 3:08 PM on February 6, 2023:

    Indeed on M1 macs, brew has a whole new root directory:

    --> which git
    /opt/homebrew/bin/git
    
  8. fanquake commented at 10:13 AM on February 6, 2023: member

    If git doesn't ship with macOS, it will have been installed as part of the command line tools, which are already installed at this point in the guide. Closing for now.

  9. fanquake closed this on Feb 6, 2023

  10. fanquake locked this on Feb 19, 2023

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-22 18:13 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me