A collection of custom actions:
- Create Bundle
- Pull Bundle
- Delete Merged Branches
Double click the install
file or run in terminal the shell script ./install
Warning install
script takes a copy of your existing SourceTree actions.plist
file as a backup and stores it under bin/actions_backup
. Please follow the Advanced section to manually add custom actions.
From within SourceTree you could do the following:
- Parameter: select the root commit
- Output: a bundle file named according to the active branch containing all the commits after the selected root commit
Select the root commit then click on Actions -> Custom Actions -> Create bundle
See how to Create Bundle
- Parameter: select the generated bundle from step 1
- Output: fetch commits and checkout a branch based on the bundle name
Select the bundle file then click on Actions -> Custom Actions -> Pull bundle
See how to Pull Bundle
- Parameter: select master branch
- Output: delete merged branches to master
Click on Actions -> Custom Actions -> Delete merged branches
The Custom Actions of SourceTree are stored at ~/Library/Application\ Support/SourceTree/
and configured at the actions.plist
.
-
Copy bash scripts under
/bin
folder to~/Library/Application\ Support/SourceTree/
-
Go to
SourceTree App -> Preferences Menu -> Custom Actions Tab
-
Click
Add / Edit
custom actions
- Merge
actions.plist
file than taking a backup copy and replace