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 votes

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 votes

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!

0 votes
Adam Ahmed Atlassian Team Oct 19, 2014

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
Community showcase
Published Mar 14, 2019 in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder

...ipe.sh :  #!/bin/bash source "$(dirname "$0")/common.sh" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

240 views 0 12
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