August 15, 2015

Updating Git in Ubuntu

Today I needed to update Git in my Ubuntu machines, and this is a note to myself to remember the process:

sudo add-apt-repository ppa:git-core/ppa -y sudo apt-get update sudo apt-get install git git --version

The command add-apt-repository needs some prerequisites as well (they were not installed in one of my machines):

sudo apt-get install python-software-properties software-properties-common