Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Automatically run script on branch switch

esbenr
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 7, 2017

We have a update configuration script that we need to run everutime we switch branches etc. Is it possible to configure Sourcetree to rautomatically run a script when I change branch?

1 answer

0 votes
minnsey
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 7, 2017

Hi
No, I'm afraid there is nothing in SourceTree currently to support that, but you could try using git hooks, which SourceTree should respect, e.g. the post-checkout hook


http://git-scm.com/docs/githooks

João José Salgado Serra
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 26, 2019

Yea im having the same issue due git lfs not working properly

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events