The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to add a complex custom action for sourcetree

Dominik Bartholdi
December 22, 2016

how can I add a more complex custom action like the following to sourcetree?

 

git branch --merged develop | egrep -iv '(master|develop)' | xargs -n 1 git branch -d 

 

while the procedure to add a simple custom action is easy, it seem not possible to do stuff with pipes, any idea how to do that?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Seth
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
December 22, 2016

You could put that stuff into a script file, and have your custom action execute the script.

TAGS
AUG Leaders

Atlassian Community Events