2

I have an issue and I am not sure what is happening. I have a repository on bitbucket that only I use, and I have only done simple pushes of my code. When I got on today my code in one of my directories is missing. Replaced with this:

Well I can't post pictures, but this is the text that is where my files are supposed to be:

DualLoops → 8635cc0a2c54 [8635cc0a2c54]

Where my code might have gone off to?

Cœur
  • 37,241
  • 25
  • 195
  • 267
BradStell
  • 371
  • 3
  • 17
  • I think , this is better to post , bit bucket support team. if you don't do any think , it should be there. – uma Oct 04 '15 at 03:20

1 Answers1

3

It means the directory you thought you git add'ed and git commit'ed was a nested git repo (meaning a folder with a .git subfolder in it).

When you add a nested git repo, the main parent repo records a gitlink (a special entry in the index, usually used for submodule).
See more with "Git repository in a git repository".

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • Thank you! This is what had happened now that you point that out. Well...That's a lesson learned the hard way. – BradStell Oct 05 '15 at 02:15