Skip to content

Instantly share code, notes, and snippets.

@ryanhs
Forked from YuMS/update-git.sh
Created April 21, 2022 07:53
Show Gist options
  • Save ryanhs/547b28a61142f8a2e3b93666763b31a1 to your computer and use it in GitHub Desktop.
Save ryanhs/547b28a61142f8a2e3b93666763b31a1 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