Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,360,685
Community Members
 
Community Events
168
Community Groups

Is it possible to add hooks to a managed Git repository?

We'd like to add some server side hooks to a git repository. Is it possible to do this with a Fisheye managed git repository?

Thanks

Fred

1 answer

1 accepted

1 vote
Answer accepted

Hi Fred.

You can do it by locating your managed-repos (check your <FISHEYE_INST>/config.xml:

<repository-management repositories-root="/opt/atlassian/fecru/inst/managed-repos"/>

Inside that folder all managed repositories are located then you can add the hooks you want:

root@webserver64:/opt/atlassian/fecru/inst/managed-repos/git.git# ls
branches config description HEAD hooks info objects refs

Please let me know if that is what you are looking for.

Cheers,
Douglas Fabretti
Atlassian Suport

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Online AMA this week: Your project management questions answered by Jira Design Lead James Rotanson

We know that great teams require amazing project management chops. It's no surprise that great teams who use Jira have strong project managers, effective workflows, and secrets that bring planning ...

196 views 1 6
Read article

Atlassian Community Events