sourcetree: listeners for git actions

sadokfire May 30, 2019

Good day, i am interested in listeners for git actions, like:

* pull [branch id_commit]

* push [branch id_commit]

* change branch [branch_current branch_next]

// It's needed for managing obj files (C++) ))

 

How I can get this events ?)

2 answers

1 accepted

0 votes
Answer accepted
Mike Corsaro
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 4, 2019

Hello! This doesn't have much to do with Sourcetree itself, but you might want to look into a feature of git called hooks.

Hooks allow you to listen for actions such as pull or push and then perform another action. You can find more info about hooks here.

0 votes
sadokfire June 5, 2019

With system git it's begin works. Thanks! 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events