Skip to content

Instantly share code, notes, and snippets.

@zhiguangwang
Last active April 8, 2016 02:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zhiguangwang/3ac7fa80dbd3e7f08c54e1e36acf1f75 to your computer and use it in GitHub Desktop.
Save zhiguangwang/3ac7fa80dbd3e7f08c54e1e36acf1f75 to your computer and use it in GitHub Desktop.
Install latest stable Git on Ubuntu

Install latest stable Git on Ubuntu

Install the most current stable version of Git for Ubuntu, using PPA of Ubuntu Git Maintainers team.

For details, see this PPA page.

#!/bin/bash -ex
# Install latest stable Git
sudo add-apt-repository ppa:git-core/ppa
sudo apt-get update
sudo apt-get -y install git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment