Skip to content
This repository has been archived by the owner on Nov 13, 2023. It is now read-only.

Installation instructions are incorrect for later MACOS #186

Open
tommiyau opened this issue Jun 9, 2022 · 2 comments
Open

Installation instructions are incorrect for later MACOS #186

tommiyau opened this issue Jun 9, 2022 · 2 comments

Comments

@tommiyau
Copy link

tommiyau commented Jun 9, 2022

The installation instructions recommend the below however this is not possible to perform on later MACs as the /usr/bin directory is protected and you can not rename the stubs. Easiest solution is to edit the user .zprofile file and include /usr/local/git/bin into the PATH. This will correct the issue for a single user.

When you run git, you might see this message:

'The "git" command requires the command line developer
tools. Would you like to install the tools now?"

This is because OS X ships with stubs, and these stubs are taking
precedence over /usr/local/bin.

To resolve, run the following:

sudo mv /usr/bin/git /usr/bin/git-system
@tommiyau tommiyau changed the title INstallation instructions are incorrect for later MACOS Installation instructions are incorrect for later MACOS Jun 9, 2022
@Walitaisaac
Copy link

how should I install git on my pc

@Mwoodin123
Copy link

sudo mv /usr/bin/git /usr/bin/git-system

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants