* How to update git on Mac OS X Mountain Lion 10.8.4
@ 2013-06-28 19:31 Olivier de Broqueville
2013-06-28 20:12 ` Junio C Hamano
2013-06-28 21:06 ` Melton Low (devl)
0 siblings, 2 replies; 4+ messages in thread
From: Olivier de Broqueville @ 2013-06-28 19:31 UTC (permalink / raw)
To: git
Hello,
I've learnt that Xcode installs git by default on the Mac. My current
version of git is 1.7.12.4 and it's located in /usr/bin/git.
I wanted to update git to the latest stable version available:
1.8.3.1. I proceeded with the instructions on:
http://git-scm.com/downloads and typed:
git clone https://github.com/git/git.git
(rather than using the .dmg file because I don't want to install a new
version of git in addition to the existing one used by Xcode.
Furthermore, I have no idea where the new version would end up being
installed and I've read that users have had trouble doing this!)
This rendered the following results:
Oliviers-iMac:~ odebroqueville$ git clone https://github.com/git/git.git
Cloning into 'git'...
remote: Counting objects: 157697, done.
remote: Compressing objects: 100% (53116/53116), done.
remote: Total 157697 (delta 114700), reused 143715 (delta 102625)
Receiving objects: 100% (157697/157697), 39.56 MiB | 2.01 MiB/s, done.
Resolving deltas: 100% (114700/114700), done.
Oliviers-iMac:~ odebroqueville$ which git
/usr/bin/git
Oliviers-iMac:~ odebroqueville$ git --version
git version 1.7.12.4 (Apple Git-37)
As you can see, nothing seems to have changed!
Would you have any explanations?
Thank you in advance for your help.
Best regards,
Olivier de Broqueville.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to update git on Mac OS X Mountain Lion 10.8.4
2013-06-28 19:31 How to update git on Mac OS X Mountain Lion 10.8.4 Olivier de Broqueville
@ 2013-06-28 20:12 ` Junio C Hamano
2013-06-28 21:06 ` Melton Low (devl)
1 sibling, 0 replies; 4+ messages in thread
From: Junio C Hamano @ 2013-06-28 20:12 UTC (permalink / raw)
To: Olivier de Broqueville; +Cc: git
Olivier de Broqueville <olivier.debroqueville@gmail.com> writes:
> Hello,
>
> I've learnt that Xcode installs git by default on the Mac. My current
> version of git is 1.7.12.4 and it's located in /usr/bin/git.
>
> I wanted to update git to the latest stable version available:
> 1.8.3.1. I proceeded with the instructions on:
> http://git-scm.com/downloads and typed:
>
> git clone https://github.com/git/git.git
>
> (rather than using the .dmg file because I don't want to install a new
> version of git in addition to the existing one used by Xcode.
> Furthermore, I have no idea where the new version would end up being
> installed and I've read that users have had trouble doing this!)
>
> This rendered the following results:
> Oliviers-iMac:~ odebroqueville$ git clone https://github.com/git/git.git
> Cloning into 'git'...
> remote: Counting objects: 157697, done.
> remote: Compressing objects: 100% (53116/53116), done.
> remote: Total 157697 (delta 114700), reused 143715 (delta 102625)
> Receiving objects: 100% (157697/157697), 39.56 MiB | 2.01 MiB/s, done.
> Resolving deltas: 100% (114700/114700), done.
> Oliviers-iMac:~ odebroqueville$ which git
> /usr/bin/git
> Oliviers-iMac:~ odebroqueville$ git --version
> git version 1.7.12.4 (Apple Git-37)
>
> As you can see, nothing seems to have changed!
>
> Would you have any explanations?
You seem to have successfully downloaded the source, but I do not
see the steps you built and installed the downloaded source.
I think that would be a sufficient explanation?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to update git on Mac OS X Mountain Lion 10.8.4
2013-06-28 19:31 How to update git on Mac OS X Mountain Lion 10.8.4 Olivier de Broqueville
2013-06-28 20:12 ` Junio C Hamano
@ 2013-06-28 21:06 ` Melton Low (devl)
2013-06-29 1:59 ` David Aguilar
1 sibling, 1 reply; 4+ messages in thread
From: Melton Low (devl) @ 2013-06-28 21:06 UTC (permalink / raw)
To: Olivier de Broqueville; +Cc: git
Hi,
Did you do a "sudo make install" as the last step?
As a general rule of thumb on OS X, don't update or otherwise do
anything to stuff installed by Apple. You have to install the newer
version from the Git repository to a different directory, eg /usr/local
or /usr/local/git .
./configure --prefix=/usr/local
or
./configure --prefix=/usr/local/git
make all
sudo make install
Then change your login profile, from the terminal, to reflect the new
bin location, eg /usr/local/bin or /usr/local/git/bin .
Hope this help.
Mel
Olivier de Broqueville wrote:
> Hello,
>
> I've learnt that Xcode installs git by default on the Mac. My current
> version of git is 1.7.12.4 and it's located in /usr/bin/git.
>
> I wanted to update git to the latest stable version available:
> 1.8.3.1. I proceeded with the instructions on:
> http://git-scm.com/downloads and typed:
>
> git clone https://github.com/git/git.git
>
> (rather than using the .dmg file because I don't want to install a new
> version of git in addition to the existing one used by Xcode.
> Furthermore, I have no idea where the new version would end up being
> installed and I've read that users have had trouble doing this!)
>
> This rendered the following results:
> Oliviers-iMac:~ odebroqueville$ git clone https://github.com/git/git.git
> Cloning into 'git'...
> remote: Counting objects: 157697, done.
> remote: Compressing objects: 100% (53116/53116), done.
> remote: Total 157697 (delta 114700), reused 143715 (delta 102625)
> Receiving objects: 100% (157697/157697), 39.56 MiB | 2.01 MiB/s, done.
> Resolving deltas: 100% (114700/114700), done.
> Oliviers-iMac:~ odebroqueville$ which git
> /usr/bin/git
> Oliviers-iMac:~ odebroqueville$ git --version
> git version 1.7.12.4 (Apple Git-37)
>
> As you can see, nothing seems to have changed!
>
> Would you have any explanations?
>
> Thank you in advance for your help.
> Best regards,
> Olivier de Broqueville.
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to update git on Mac OS X Mountain Lion 10.8.4
2013-06-28 21:06 ` Melton Low (devl)
@ 2013-06-29 1:59 ` David Aguilar
0 siblings, 0 replies; 4+ messages in thread
From: David Aguilar @ 2013-06-29 1:59 UTC (permalink / raw)
To: Melton Low (devl); +Cc: Olivier de Broqueville, Git Mailing List
On Fri, Jun 28, 2013 at 2:06 PM, Melton Low (devl) <softw.devl@gmail.com> wrote:
> Hi,
>
> Did you do a "sudo make install" as the last step?
>
> As a general rule of thumb on OS X, don't update or otherwise do anything to
> stuff installed by Apple. You have to install the newer version from the
> Git repository to a different directory, eg /usr/local or /usr/local/git .
It's never any fun doing this stuff yourself.
If you're new to this stuff then I would highly recommend using homebrew:
http://mxcl.github.io/homebrew/
Once you've installed it you can say, "brew install git".
> ./configure --prefix=/usr/local
> or
> ./configure --prefix=/usr/local/git
>
> make all
> sudo make install
>
> Then change your login profile, from the terminal, to reflect the new bin
> location, eg /usr/local/bin or /usr/local/git/bin .
>
> Hope this help.
>
> Mel
>
>
> Olivier de Broqueville wrote:
>>
>> Hello,
>>
>> I've learnt that Xcode installs git by default on the Mac. My current
>> version of git is 1.7.12.4 and it's located in /usr/bin/git.
>>
>> I wanted to update git to the latest stable version available:
>> 1.8.3.1. I proceeded with the instructions on:
>> http://git-scm.com/downloads and typed:
>>
>> git clone https://github.com/git/git.git
>>
>> (rather than using the .dmg file because I don't want to install a new
>> version of git in addition to the existing one used by Xcode.
>> Furthermore, I have no idea where the new version would end up being
>> installed and I've read that users have had trouble doing this!)
>>
>> This rendered the following results:
>> Oliviers-iMac:~ odebroqueville$ git clone https://github.com/git/git.git
>> Cloning into 'git'...
>> remote: Counting objects: 157697, done.
>> remote: Compressing objects: 100% (53116/53116), done.
>> remote: Total 157697 (delta 114700), reused 143715 (delta 102625)
>> Receiving objects: 100% (157697/157697), 39.56 MiB | 2.01 MiB/s, done.
>> Resolving deltas: 100% (114700/114700), done.
>> Oliviers-iMac:~ odebroqueville$ which git
>> /usr/bin/git
>> Oliviers-iMac:~ odebroqueville$ git --version
>> git version 1.7.12.4 (Apple Git-37)
>>
>> As you can see, nothing seems to have changed!
>>
>> Would you have any explanations?
>>
>> Thank you in advance for your help.
>> Best regards,
>> Olivier de Broqueville.
>> --
>> To unsubscribe from this list: send the line "unsubscribe git" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
David
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-06-29 2:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-28 19:31 How to update git on Mac OS X Mountain Lion 10.8.4 Olivier de Broqueville
2013-06-28 20:12 ` Junio C Hamano
2013-06-28 21:06 ` Melton Low (devl)
2013-06-29 1:59 ` David Aguilar
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).