Skip to content

Instantly share code, notes, and snippets.

@guanting112
Last active May 9, 2023 13:52
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save guanting112/f1849f5013b899a2195ead4252df3f75 to your computer and use it in GitHub Desktop.
Save guanting112/f1849f5013b899a2195ead4252df3f75 to your computer and use it in GitHub Desktop.
[macOS] SourceTree command line tools install script ( support 10.11, 10.12 )
#!/usr/bin/env bash
function link_stree {
ln -s /Applications/SourceTree.app/Contents/Resources/stree /usr/local/bin/
}
function install {
link_stree
}
install
@nicolast91
Copy link

I wasn't able to install stree from the menu on my Mac M1. This script works like a charm, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment