0

Git newbie here. Have searched Stackoverflow for this but nothing matches.

I have been committing/pushing my files for the last 8 weeks. However this week it seems to have gone wrong.

Have also tried backing up & the deleting various folders and re-cloning. The push is successful but still the github.io site doesn't update.

What am I doing wrong?

1 Answers1

0

The folders you are trying to update in github.com/alice-tlr/alice-tlr.github.io are nested git repo recorded as gitlink, a special entry in the index of the repo.

A gitlink is just a SHA1 of another repo, as your commit bcc3d31 illustrate:

gitlink update

Those are the gray folder you see in your GitHub repo.

github with nested repos

They won't ever include files directly.

You can transform them as full-fledged submodules.
They will still be gitlinks, meaning still a gray folder, but this time, GitHub page can fetch their content and display it (provided those submodules reference public repositories)

An actual submodule is:

  • a gitlink (a SHA1)
  • an url (that is the part which is missing currently)

Note that you can also remove the nested git repo and add directly its content if you want.

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • Thank you for your response, since posting i established this to be the issue and have resolved it - but thanks for taking the time to help. – Alice Rosier Dec 04 '16 at 06:14