Repository is not updated by pushing content immediately after its creation

Troubleshooting Git

On this page

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

Repositories are not updated when changes are pushed into it immediately after their creation and the initial screen is always displayed. The content is only accessible after restarting Stash.

FIgure 1: initial screen example immediately after a repository creation.

 

Causes and Resolutions

Stash relies on hook scripts that are installed into each repository (and managed by the system) to provide change information that, in turn, allows it to update the repositories, pull requests and check branch permissions. If the hooks are not installed correctly, or are damaged, these required callbacks do not happen and the functionality associated with them fails.

 

Resolution

Follow the steps in Git hook scripts are not executing to identify and fix problems with the git hooks.

 


Last modified on Feb 23, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.