Skip to content

Instantly share code, notes, and snippets.

@happygiraffe
Created July 16, 2009 11:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save happygiraffe/148374 to your computer and use it in GitHub Desktop.
Save happygiraffe/148374 to your computer and use it in GitHub Desktop.
# Upgrade git in mac ports.
# First, bring the ports collection up to date.
# -d for debug output.
sudo port -d sync
# Then, upgrade git.
# -d for debug output.
# -n for not upgrading dependencies
# -u for uninstalling the old version
sudo port -d -n -u upgrade git-core
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment