A collection of SourceTree CustomActions.
The CustomActions of SourceTree are stored at ~/Library/Application Support/SourceTree/actions.plist
.
Copy bash script to ~/Library/Application Support/SourceTree/
Go to SourceTree -> Preferences -> Custom Actions -> Add
and fill custom action with parameters:
Menu Caption: Branch Name
+ Show Full Output
Script to run: ~/Library/Application Support/SourceTree/branch_name.sh
Parameters: $SHA
Feel free to use it.