Skip to content

Instantly share code, notes, and snippets.

@yehchge
Forked from YuMS/update-git.sh
Created October 8, 2018 04:06
Show Gist options
  • Save yehchge/9fdbf272077a08a7b5a44fe367f4aab6 to your computer and use it in GitHub Desktop.
Save yehchge/9fdbf272077a08a7b5a44fe367f4aab6 to your computer and use it in GitHub Desktop.
Update git to latest version on Ubuntu
#!/bin/bash
sudo add-apt-repository -y ppa:git-core/ppa
sudo apt-get update
sudo apt-get install git -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment