Hello. Mac running OS X 10.7.5 and Git is not installed in my machine, presumably. In Terminal, git -v yields '-bash: git: command not found'. Can't proceed with Installing a Ruby Development Environment module until I have Git installed. Where can I grab this download? Thank you for your input. Also, after installing, anything else I need to run to get it up and running? Thanks again.
While not needed to install Git (you could get it from the link Ryan supplied), I'd advise you to check out homebrew, http://brew.sh - a package manager for OS X. With homebrew installed you can easily install git and keep it up to date.
If you do decide to use brew - after installing, open up a terminal and run;
And that should sort you out with the latest stable version.
Installing Git on Linux, Mac OS X and Windows. GitHub Gist: instantly share code, notes, and snippets. GitHub Desktop Focus on what matters instead of fighting with Git. Whether you're new to Git or a seasoned user, GitHub Desktop simplifies your development workflow. Download for macOS Download for Windows (64bit) Download for macOS or Windows (msi) Download for Windows. By downloading, you agree to the Open Source Applications Terms. Jul 06, 2015 Installing things is pretty easy, all you have to do is go to the Git website, which is at git-scm.com, and then click on this Downloads for Mac button, and your download should automatically. There are several ways to install Git on a Mac. The easiest is probably to install the Xcode Command Line Tools. On Mavericks (10.9) or above you can do this simply by trying to run git from the Terminal the very first time.
Mcafee internet security for mac. That's an awesome link. I'll keep this mind when I start to learn the Mac OS in more detail.
Hi Ben, do you know if this is compatible with OS X 10.7.5? First, I am going to uninstall the git version I downloaded earlier (from the link Ryan provided). Before I install homebrew, however, please let me know about the compatibility. Thank you.
The brew install succeeded but the git install failed. Looks like I have to first update Xcode to 4.6.3, according to brew doctor. So I am doing that at the moment. Fingers crossed.
No luck installing git, unfortunately. brew update reveals it is up to date. And brew doctor is issuing no warnings. Format wd elements for mac. May have to reinstall Xcode?
Reporting success installing git via brew. I needed to install the Xcode Command Line Tools. Once installed, 'brew install git' ran through without issues. Version is 1.7.12.4 Thank you, Ben.
Hey gbp sorry for the late reply! Different time zones! Hope you got on ok. One thing to note is that after you've installed Xcode Command Line Tools I have a feeling you need to run Xcode and accept the Terms and Conditions that pop up in order to stop the possibility of further problems down the road that are to do with permissions. Hope you managed to get it sorted!
Hello Ben, thank you. Got on ok. Brew doctor was graceful in guiding me and indeed suggested that I accept the Xcode terms & conditions which I did promptly. Thanks again for your guidance.
Hi Ben,
I know this might be repetitive, but I am having a problem updating git on my computer.
Install Git For Mac 2017
I'm running OSX 10.7.5 - while I downloaded homebrew and am pretty sure it's working correctly because I've tried downloading the latest git via 'brew install git' it says I downloaded it already.
I believe that my problem is that when I run 'which git' I still get: /usr/bin/git
Install Git Mac Command Line
When it's actually supposed to be: /usr/local/bin/git
It's my understanding that if you run: export PATH=/usr/local/bin:$PATH that should fix things but what happens then is the updated git is installed at: /usr/local/bin/local/bin/git
Then when I run: git --version I get an error.. so I found out how to delete it.
Maybe it has to do with my .bash_profile?export PATH=/usr/local/git/bin:/usr/local/bin:/usr/local/sbin:/usr/local/rvm/gems/ruby-1.9.3-p392/bin:/usr/local/rvm/gems/ruby-1.9.3-p392@global/bin:/usr/local/rvm/rubies/ruby-1.9.3-p392/bin:/usr/local/rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin:/opt/sm/bin:/opt/sm/pkg/active/bin:/opt/sm/pkg/active/sbin export PATH=/usr/local/git/bin:/usr/local/bin:/usr/local/sbin:/usr/local/git/bin:/usr/local/bin:/usr/local/sbin:/usr/local/rvm/gems/ruby-1.9.3-p392/bin:/usr/local/rvm/gems/ruby-1.9.3-p392@global/bin:/usr/local/rvm/rubies/ruby-1.9.3-p392/bin:/usr/local/rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin:/opt/sm/bin:/opt/sm/pkg/active/bin:/opt/sm/pkg/active/sbin
Install Git Mac Via Terminal
Any help on this? I have been working hours on it.
Thanks,Alex
http://git-scm.com/
Should be able to get everything you need
https://mac.github.com/For when you want to show employers your source code and projects on your resume
Let me know if it solves your problem
Thanks, Ryan and Ben. Ryan, I downloaded from your link and hopefully this will get me moving forward. After installing, I went to Terminal and ran git -v but now getting 'Illegal instruction: 4'. What is the meaning of this? Maybe it has something to do with my Mac being on an older version of OS X? 10.7.5 to be specific. Anyway, I'll see if I can proceed downloading the Ruby dev env.
That's exactly what it is. I've manage to find this for Illegal instruction 4
Thanks, Ryan. Visited the stackoverflow link and how do I make '-mmacosx-version-min=10.5' work for me? I am sorry but I am not at all well-versed with interacting with the console. Thank you for guiding me.
Install Git On Windows Cli
Server 2016 internet explorer security. Try typing that into the terminal first and let me know what comes up.You might need to try and download an earlier version of git if your computer is on an older version
Hmm, this is getting beyond my ability to solve it. I'm not sure on exactly what to do next. Sorry that I couldn't be more help. I would just try to find documentation on the issue for git and mac from this point on.
How To Run Git On Windows
Ryan, thanks for all your help and no worries. Installing git via brew succeeded. Read further above for the reasons the installs were failing. Probably for the same reasons your suggestion earlier failed as well. But brew gave lots of useful guidance to resolve. Otherwise I would have never known what to do.
Install Git For Mac Download
Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post. Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |