My code has dissapeared

So, I have a repository that is only used by me, and I only do simple pushes. Today I went to my repository and in one of my directories my code is missing replaced with this: 

DualLoops → 8635cc0a2c54 [8635cc0a2c54]

 

Any idea where my code might have gone off to?


REPLY


I cannot comment or answer because I am new. (super retarded to not be able to comment on your own post)  

 Well the directory that disappeared was not a git repository if that is what you are asking. The code was there in the past, however it is not now.

2 answers

0 votes

Do you by any chance use git submodules in that repository? Could it be that the repository that the submodule refers to has been moved or deleted?

0 votes
Adam Ahmed Atlassian Team Oct 04, 2015

That is not what he was asking. git submodules are a Git built-in way to link one repository within another. The display you are referring to looks similar to how we display submodule links. So MH is assuming you had a submodule linked into that directory.If you had done `git submodule` at some point (or someone had done it on the repository before you began using it), that would be related to this. See https://git-scm.com/docs/git-submodule

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

422 views 5 9
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