Skip to content

mazen-kasser/SourceTreeCustomActions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SourceTree Icon

A collection of custom actions:

  • Create Bundle
  • Pull Bundle
  • Delete Merged Branches

How To Install

Double click the install file or run in terminal the shell script ./install

Custom Actions Installed

Warning ⚠️ the 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.

Usage

From within SourceTree you could do the following:

1) Create Bundle ( + )

- 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

2) Pull 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

3) Delete Merged Branches ( + )

- Parameter: select master branch
- Output: delete merged branches to master

Click on Actions -> Custom Actions -> Delete merged branches

Advanced (Add / Edit)

The Custom Actions of SourceTree are stored at ~/Library/Application\ Support/SourceTree/ and configured at the actions.plist.

  1. Copy bash scripts under /bin folder to ~/Library/Application\ Support/SourceTree/

  2. Go to SourceTree App -> Preferences Menu -> Custom Actions Tab

  3. Click Add / Edit custom actions

Add / Edit Custom Actions

TODO

  • Merge actions.plist file than taking a backup copy and replace

About

A collection of SourceTree Custom Actions.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages