Skip to content

Instantly share code, notes, and snippets.

@dynaz
Forked from YuMS/update-git.sh
Created May 6, 2023 18:45
Show Gist options
  • Select an option

  • Save dynaz/377ef362837d2b2c9c140435dea6f54d to your computer and use it in GitHub Desktop.

Select an option

Save dynaz/377ef362837d2b2c9c140435dea6f54d 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