Ubuntu git upgrade(reprint)

reprint from:http://www.360doc.com/content/12/0228/13/5962017_190255288.shtml

If you use Git a lot, you probably want to run the latest version.

The standard repository version for Ubuntu is 1.7.1, the current latest is 1.7.5 and there are some significant differences.
How to Upgrade Git

To get 1.7.5 on Ubuntu without too much messing about you can do the following:
1. Set up this PPA:
    sudo add-apt-repository ppa:pdoes/ppa/ubuntu

2. Now run an aptitude update and upgrade git
    sudo apt-get update
    sudo aptitude upgrade git

3. Now check your git version
    git --version

Full Script for the lazy


    sudo add-apt-repository ppa:pdoes/ppa/ubuntu && sudo apt-get update && sudo aptitude upgrade && git --version

posted on 2013-05-04 20:54  夜月升  阅读(391)  评论(0编辑  收藏  举报

导航