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.

 

Thanks

 

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?

Cheers,

Michael

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.

Cheers,

Thiago

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 vote
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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

29,871 views 26 12
Join discussion

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