Hi everyone,
a few hours ago, a whole branch on my workspace got emptied like nothing has ever been done with it. It's been used for a few months now, it's not merged, it still shows up, but it's empty. What's weird is that the source files for this branch are available and up to date.
I'm pretty worried to try to commit or update anything and lose my work for now and I'm stuck in my job. Any idea how to fix this would be very much apreciated.
Unfortunately this repository is private since it's company's private project. Let me know what information I should provide.
Thank you
Hi @Jonathan PRIOU,
Welcome to the community.
I'm sorry to know that you're stuck because of this.
We do have a known bug where recent commits are suddenly not showing on the UI. - https://jira.atlassian.com/browse/BCLOUD-19548
It could be caused by some stale cache on the repository and the workaround is to try to push a new commit or a new branch to the repository.
Before proceeding below, you can back up your repository by cloning it via --mirror clone.
git clone --mirror <your repository URL - HTTPS/SSH>
To see if what you're experiencing is related to the known bug, would it be possible for you to try to push a new commit or a new branch to your repository?
Do let me know how it goes.
Regards,
Mark C
Hi @Mark C ,
Thank you for your answer. Like I said, I did not dare to commit anything then because I was scared to lose my work.
However, I did repilicate the repository to a new one, since the source files in that branch where still showing, then every commits showed up properly in the new repository.
It seems your assumption about what's happening is correct, it's obviously only a display bug.
Thanks for your help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.