When my dev commits code, stash does not show the commits in the web UI.

When my dev commits code we can see it in source tree but the UI does not show any commits and we cannot get past the basics to git page.




5 answers

0 vote

Hi Greg,

By 'we cannot get past the basics to git page', do you mean the 'You have an empty repository page'? If so, it sounds like hooks aren't being triggered when you push to the repository (a cache controlling the 'empty' check should be invalidated when a push happens). Can you open a support request on https://support.atlassian.com and upload a support zip (Admin > Atlassian Support Tools > Support Zip) so we can have a look at your logs etc?



I would but its down.  I will when its back up unless you have a suggestion of where to look?

Maintenance on https://support.atlassian.com has finished, it's up again.

0 vote

Hi Greg,

As Michael mentioned, you need to push your commits to Stash after committing to your local repo with your Sourcetree. Please refer to Importing code from an existing project.

Just giving more insight on the hook issue mentioned by Michael, you could try to look into the quirks we found and published on: Pull Requests Not Reflecting Changes Pushed to Remote Branch After an Upgrade. The effect on the KB is different to what you describe but the cause (hooks permission) is the same.

Feel free to raise an issue in SAC and we will look into it for you.

I hope these details help.



I had the same issue (web UI not showing Bucket Server commits), your article how to fix the hook permissions was The solution. Thanks!

Just as a precautionary measure since I don't know where you stand on the 'new to git' to 'git guru' scale - after committing, you run 'git push' to move your code from your local computer up to Stash, right? And the output of the push command shows no errors? SourceTree works on your local computer so will show the commits even before they are pushed.

I have pushed to the repo and can pull via the ssh: url (I'm the dev)

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,944 views 1 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you