Skip to content

Instantly share code, notes, and snippets.

@davidrapin
Created January 19, 2015 16:16
Show Gist options
  • Save davidrapin/ff452f05c4e8b5434aa4 to your computer and use it in GitHub Desktop.
Save davidrapin/ff452f05c4e8b5434aa4 to your computer and use it in GitHub Desktop.
use installed Git without installing XCode (OSX)
# git is installed under /usr/local/git/bin/
ls -1 /usr/local/git/bin/ |xargs -INAME sudo rm -f /usr/bin/NAME
ls -1 /usr/local/git/bin/ |xargs -INAME sudo ln -s /usr/local/git/bin/NAME /usr/bin/NAME
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment