up vote 1 down vote favorite
1
share [g+] share [fb]

How do I upgrade Git on Ubuntu?

link|improve this question

65% accept rate
feedback

2 Answers

up vote 3 down vote accepted

If you want the latest git on your system, add this ppa in your software sources. Then install git-core if it wasn't done before, and update your system.

However I would suggest to upgrade to an unsupported package only if you require some specific features included only in the latest version.

link|improve this answer
feedback
sudo apt-get update
sudo apt-get upgrade

If you already have it installed and everything is clean.

If you want the absolute newest version and that is not in the repositories, there is a guide to doing that here: http://ropiku.wordpress.com/2008/04/14/updating-git-on-ubuntu/

link|improve this answer
that tutorial you linked worked great for me, thanks! – Andrew Oct 14 '09 at 23:43
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.