GitHub projects "un-clickable" in repo

I have a very strange problem and I can’t deal with it. I clicked a few projects on Repo on GitHub, and two of them are black and not clickable, and I have no idea why.

This is a click:

C:\Users\keilc\Documents\GitHub\homeprojects [master +0 ~1 -0]> git push origin master Counting objects: 108, done. Delta compression using up to 8 threads. Compressing objects: 100% (105/105), done. Writing objects: 100% (108/108), 3.71 MiB | 111.00 KiB/s, done. Total 108 (delta 4), reused 0 (delta 0) To https://github.com/KeilCarpenter/Home-Projects.git * [new branch] master -> master 

What's happening? I have no idea

+2
github
source share
1 answer

These are nested git repo, whose SHA1 was written as gitlink (although they are not submodules), and a special entry in the index .

This means that you must have a .git folder in these two directories on your local machine.

One of the possible options:

  • delete these two folders (followed by git add -A ., git commit -m "remove nested git repos" )
  • add them back as a submodule: git submodule add /url/to/rpeo/RectionTester , then add, commit and click)

From there, these folders will still not be accessible for clicks on GitHub, but at least the git clone --recursive your main repo will be sufficient to return their contents locally.

+2
source share

All Articles