{"thread":{"id":"34303","subject":"How to update git on Mac OS X Mountain Lion 10.8.4","startedAt":"2013-06-28T19:31:38Z","lastAt":"2013-06-29T01:59:58Z","messageCount":4,"participants":["Olivier de Broqueville","Junio C Hamano","Melton Low (devl)","David Aguilar"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"222203","messageId":"CAN_-5Z94-OV7rHYf+mUuf_xanxu0+odwovv0mpB4GRHVsjccDw@mail.gmail.com","threadId":"34303","inReplyTo":null,"subject":"How to update git on Mac OS X Mountain Lion 10.8.4","fromName":"Olivier de Broqueville","fromEmail":"olivier.debroqueville@gmail.com","sentAt":"2013-06-28T19:31:38Z","receivedAt":"2013-06-28T19:31:38Z","isPatch":false,"sender":{"key":"olivier.debroqueville@gmail.com","avatar":null},"body":"Hello,\n\nI've learnt that Xcode installs git by default on the Mac. My current\nversion of git is 1.7.12.4 and it's located in /usr/bin/git.\n\nI wanted to update git to the latest stable version available:\n1.8.3.1. I proceeded with the instructions on:\nhttp://git-scm.com/downloads and typed:\n\ngit clone https://github.com/git/git.git\n\n(rather than using the .dmg file because I don't want to install a new\nversion of git in addition to the existing one used by Xcode.\nFurthermore, I have no idea where the new version would end up being\ninstalled and I've read that users have had trouble doing this!)\n\nThis rendered the following results:\nOliviers-iMac:~ odebroqueville$ git clone https://github.com/git/git.git\nCloning into 'git'...\nremote: Counting objects: 157697, done.\nremote: Compressing objects: 100% (53116/53116), done.\nremote: Total 157697 (delta 114700), reused 143715 (delta 102625)\nReceiving objects: 100% (157697/157697), 39.56 MiB | 2.01 MiB/s, done.\nResolving deltas: 100% (114700/114700), done.\nOliviers-iMac:~ odebroqueville$ which git\n/usr/bin/git\nOliviers-iMac:~ odebroqueville$ git --version\ngit version 1.7.12.4 (Apple Git-37)\n\nAs you can see, nothing seems to have changed!\n\nWould you have any explanations?\n\nThank you in advance for your help.\nBest regards,\nOlivier de Broqueville.\n"},{"id":"222206","messageId":"7v4ncingex.fsf@alter.siamese.dyndns.org","threadId":"34303","inReplyTo":"CAN_-5Z94-OV7rHYf+mUuf_xanxu0+odwovv0mpB4GRHVsjccDw@mail.gmail.com","subject":"Re: How to update git on Mac OS X Mountain Lion 10.8.4","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2013-06-28T20:12:22Z","receivedAt":"2013-06-28T20:12:22Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Olivier de Broqueville <olivier.debroqueville@gmail.com> writes:\n\n> Hello,\n>\n> I've learnt that Xcode installs git by default on the Mac. My current\n> version of git is 1.7.12.4 and it's located in /usr/bin/git.\n>\n> I wanted to update git to the latest stable version available:\n> 1.8.3.1. I proceeded with the instructions on:\n> http://git-scm.com/downloads and typed:\n>\n> git clone https://github.com/git/git.git\n>\n> (rather than using the .dmg file because I don't want to install a new\n> version of git in addition to the existing one used by Xcode.\n> Furthermore, I have no idea where the new version would end up being\n> installed and I've read that users have had trouble doing this!)\n>\n> This rendered the following results:\n> Oliviers-iMac:~ odebroqueville$ git clone https://github.com/git/git.git\n> Cloning into 'git'...\n> remote: Counting objects: 157697, done.\n> remote: Compressing objects: 100% (53116/53116), done.\n> remote: Total 157697 (delta 114700), reused 143715 (delta 102625)\n> Receiving objects: 100% (157697/157697), 39.56 MiB | 2.01 MiB/s, done.\n> Resolving deltas: 100% (114700/114700), done.\n> Oliviers-iMac:~ odebroqueville$ which git\n> /usr/bin/git\n> Oliviers-iMac:~ odebroqueville$ git --version\n> git version 1.7.12.4 (Apple Git-37)\n>\n> As you can see, nothing seems to have changed!\n>\n> Would you have any explanations?\n\nYou seem to have successfully downloaded the source, but I do not\nsee the steps you built and installed the downloaded source.\n\nI think that would be a sufficient explanation?\n"},{"id":"222216","messageId":"51CDFADD.8000707@gmail.com","threadId":"34303","inReplyTo":"CAN_-5Z94-OV7rHYf+mUuf_xanxu0+odwovv0mpB4GRHVsjccDw@mail.gmail.com","subject":"Re: How to update git on Mac OS X Mountain Lion 10.8.4","fromName":"Melton Low (devl)","fromEmail":"softw.devl@gmail.com","sentAt":"2013-06-28T21:06:37Z","receivedAt":"2013-06-28T21:06:37Z","isPatch":false,"sender":{"key":"softw.devl@gmail.com","avatar":null},"body":"Hi,\n\nDid you do a \"sudo make install\" as the last step?\n\nAs a general rule of thumb on OS X, don't update or otherwise do \nanything to stuff installed by Apple.  You have to install the newer \nversion from the Git repository to a different directory, eg /usr/local \nor /usr/local/git .\n\n./configure --prefix=/usr/local\nor\n./configure --prefix=/usr/local/git\n\nmake all\nsudo make install\n\nThen change your login profile, from the terminal, to reflect the new \nbin location, eg /usr/local/bin or /usr/local/git/bin .\n\nHope this help.\n\nMel\n\nOlivier de Broqueville wrote:\n> Hello,\n>\n> I've learnt that Xcode installs git by default on the Mac. My current\n> version of git is 1.7.12.4 and it's located in /usr/bin/git.\n>\n> I wanted to update git to the latest stable version available:\n> 1.8.3.1. I proceeded with the instructions on:\n> http://git-scm.com/downloads and typed:\n>\n> git clone https://github.com/git/git.git\n>\n> (rather than using the .dmg file because I don't want to install a new\n> version of git in addition to the existing one used by Xcode.\n> Furthermore, I have no idea where the new version would end up being\n> installed and I've read that users have had trouble doing this!)\n>\n> This rendered the following results:\n> Oliviers-iMac:~ odebroqueville$ git clone https://github.com/git/git.git\n> Cloning into 'git'...\n> remote: Counting objects: 157697, done.\n> remote: Compressing objects: 100% (53116/53116), done.\n> remote: Total 157697 (delta 114700), reused 143715 (delta 102625)\n> Receiving objects: 100% (157697/157697), 39.56 MiB | 2.01 MiB/s, done.\n> Resolving deltas: 100% (114700/114700), done.\n> Oliviers-iMac:~ odebroqueville$ which git\n> /usr/bin/git\n> Oliviers-iMac:~ odebroqueville$ git --version\n> git version 1.7.12.4 (Apple Git-37)\n>\n> As you can see, nothing seems to have changed!\n>\n> Would you have any explanations?\n>\n> Thank you in advance for your help.\n> Best regards,\n> Olivier de Broqueville.\n> --\n> To unsubscribe from this list: send the line \"unsubscribe git\" in\n> the body of a message to majordomo@vger.kernel.org\n> More majordomo info at  http://vger.kernel.org/majordomo-info.html\n"},{"id":"222225","messageId":"CAJDDKr5Spv0=e7vbjYETKn8f6VnfSJ=rGLZoqDrCmE1Rqy6YrA@mail.gmail.com","threadId":"34303","inReplyTo":"51CDFADD.8000707@gmail.com","subject":"Re: How to update git on Mac OS X Mountain Lion 10.8.4","fromName":"David Aguilar","fromEmail":"davvid@gmail.com","sentAt":"2013-06-29T01:59:58Z","receivedAt":"2013-06-29T01:59:58Z","isPatch":false,"sender":{"key":"davvid@gmail.com","avatar":"https://avatars.githubusercontent.com/u/13196?v=4"},"body":"On Fri, Jun 28, 2013 at 2:06 PM, Melton Low (devl) <softw.devl@gmail.com> wrote:\n> Hi,\n>\n> Did you do a \"sudo make install\" as the last step?\n>\n> As a general rule of thumb on OS X, don't update or otherwise do anything to\n> stuff installed by Apple.  You have to install the newer version from the\n> Git repository to a different directory, eg /usr/local or /usr/local/git .\n\nIt's never any fun doing this stuff yourself.\n\nIf you're new to this stuff then I would highly recommend using homebrew:\n\nhttp://mxcl.github.io/homebrew/\n\nOnce you've installed it you can say, \"brew install git\".\n\n> ./configure --prefix=/usr/local\n> or\n> ./configure --prefix=/usr/local/git\n>\n> make all\n> sudo make install\n>\n> Then change your login profile, from the terminal, to reflect the new bin\n> location, eg /usr/local/bin or /usr/local/git/bin .\n>\n> Hope this help.\n>\n> Mel\n>\n>\n> Olivier de Broqueville wrote:\n>>\n>> Hello,\n>>\n>> I've learnt that Xcode installs git by default on the Mac. My current\n>> version of git is 1.7.12.4 and it's located in /usr/bin/git.\n>>\n>> I wanted to update git to the latest stable version available:\n>> 1.8.3.1. I proceeded with the instructions on:\n>> http://git-scm.com/downloads and typed:\n>>\n>> git clone https://github.com/git/git.git\n>>\n>> (rather than using the .dmg file because I don't want to install a new\n>> version of git in addition to the existing one used by Xcode.\n>> Furthermore, I have no idea where the new version would end up being\n>> installed and I've read that users have had trouble doing this!)\n>>\n>> This rendered the following results:\n>> Oliviers-iMac:~ odebroqueville$ git clone https://github.com/git/git.git\n>> Cloning into 'git'...\n>> remote: Counting objects: 157697, done.\n>> remote: Compressing objects: 100% (53116/53116), done.\n>> remote: Total 157697 (delta 114700), reused 143715 (delta 102625)\n>> Receiving objects: 100% (157697/157697), 39.56 MiB | 2.01 MiB/s, done.\n>> Resolving deltas: 100% (114700/114700), done.\n>> Oliviers-iMac:~ odebroqueville$ which git\n>> /usr/bin/git\n>> Oliviers-iMac:~ odebroqueville$ git --version\n>> git version 1.7.12.4 (Apple Git-37)\n>>\n>> As you can see, nothing seems to have changed!\n>>\n>> Would you have any explanations?\n>>\n>> Thank you in advance for your help.\n>> Best regards,\n>> Olivier de Broqueville.\n>> --\n>> To unsubscribe from this list: send the line \"unsubscribe git\" in\n>> the body of a message to majordomo@vger.kernel.org\n>> More majordomo info at  http://vger.kernel.org/majordomo-info.html\n>\n> --\n> To unsubscribe from this list: send the line \"unsubscribe git\" in\n> the body of a message to majordomo@vger.kernel.org\n> More majordomo info at  http://vger.kernel.org/majordomo-info.html\n\n\n\n--\nDavid\n"}]}