Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to remove commit that does not exists but it listed on web ? Edited

So the situation is like this(web):

2020-09-28 21_21_36-bedstar _ bedstar — Bitbucket.png

This is what I see on a WEB. commit 7d00(A) is seen there and was done via WEB interface - unfortunately, it does have changes from 3f3f(C) as child. Commit f513(B) has changes from C too.

Commit C and B was done via HTTPS and SSH.

There is no branch but web states branch might be (D) - but it is not,

On a console, I did perform this. I do not see 7d00 - even for a rebase.

Any idea what to do?

$git fetch origin
$git checkout origin/master
$git reset --hard origin
HEAD is now at f513.......

$git branch
* master

$git log --all --oneline
* f513 (HEAD -> master, origin/master, origin/HEAD) XXXX
* 3f3f XXXX
* 8bfe XXXX
* 5c02 XXXX
* ad8e XXXX

### did try - but no help - cannot see 7d00
$git fsck --lost-found
$git fsck --unreachable


1 answer

1 vote
Jimmy Seddon Community Leader Sep 28, 2020

Hi @R,

This is a very interesting situation.  Looking at the image it really looks like some how you have managed to get an orphaned commit.

Have you tried running:



git log --graph --reflog

Either of those might help you find the missing commit locally.  I think once you have found it that will make it easier to be able to get the changes included in the master branch.

I hope that helps!


Thanks for the reply. rlog and gitk just point me to f513(B), both are on the master branch and both have parent 3f3f(C). Repo is in fast-forward mode. It is not possible to see commit 7d00(A) after clone. Interesting is that when there was autotaging - it did tag this commit(A), but after checking logs it does tag previous one(B) - but the tag A on web GUI shows correctly. 

Jimmy Seddon Community Leader Sep 29, 2020

That's really weird!?  It might be worth putting in a ticket to Atlassian Support to have them look at the logs on the back end.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

266 views 2 10
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you