Git installed in two place #430
Unanswered
pzrsa
asked this question in
Getting started
Replies: 1 comment 3 replies
-
The only time it may bring any problems is if you accidentally ran one git when you needed to run the other. For any command that has multiple instances on your system, which one gets run is very much under your control:
These rules apply universally, on both your Terminal sessions and any scripts/programs that you may run. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hey everyone, I'm new to this whole coding thing especially in web development so please bear with me if I say anything that isn't really asked much. Basically, I installed homebrew the default way with the code on my new MacBook Pro M1 chip with Apple silicon and the warning earlier came up about not installing in the opt path.
Already up-to-date. Warning: /opt/homebrew/bin is not in your PATH. ==> Installation successful!
However, after many hours of just uninstalling and researching (I think) I fixed the issue so it was all good. Now reinstalling all of the homebrew stuff through ARM style via YouTube video I had to sudo a mkdir for opt so I guess it wasn't serious there. But my problem is that I have no two places for the Git installed. The main place is correct and everything works as it should but will having having it in two spots bring any problems in the future? This is what happens:
% which -a git /opt/homebrew/bin/git /usr/bin/git
I get this sense of anxiety now knowing that somewhere on my before clean laptop I know have some junk where I can't even delete or anything. I don't think im supposed to delete any usr files anyways so I went go that far. Still a bit annoying as I am quite picky with what I allow on my computer and was just following the Odin Project foundation steps.
I hope I did not offend anyone or anything, I am new to all of this stuff and getting back into more of it as I learned Python 1-2 years ago in my school for exams. I look forward to your responses.
Beta Was this translation helpful? Give feedback.
All reactions