Created
September 15, 2021 04:17
-
-
Save mrluisfer/15f902bc95659e1b77f605ad22d8d16e to your computer and use it in GitHub Desktop.
Install the latest version of Git on Ubuntu-based distributions ๐ฟ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo add-apt-repository -y ppa:git-core/ppa | |
sudo apt-get update | |
sudo apt-get install git -y | |
git --version | |
# If your system doesn't have add-apt-repository, you can install it via: | |
sudo apt-get install python-software-properties software-properties-common | |
# To update git on Ubuntu 12.04 just follow this line of commands: | |
sudo apt-get install python-software-properties | |
sudo apt-get install software-properties-common | |
sudo add-apt-repository ppa:git-core/ppa -y | |
sudo apt-get update | |
sudo apt-get upgrade | |
sudo apt-get install git -y | |
git --version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment