So the situation is like this(web):
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 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
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.
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...
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