I have a problem with my Github repository - Empty directories

Asked

Viewed 225 times

3

I have a problem after submitting my project on Github, which contains two directories. However, after sending and committing, the repository on Github gets empty folders and a little arrow. This may have happened. Detail: I already removed the . git folder from the root and did it all again, but it continues like this: inserir a descrição da imagem aqui

1 answer

3


Check if inside your folder (backend and frontend) have a directory . git.

If you have, it’s considered a nested Git, because SHA1 is registered with a gitlink.

What you see on Github is gitlink. This is used for submodule as well.

To settle then:

  • remove . git from the directory backend
  • remove . git from the directory frontend
  • o . git from the main directory (your root) should not be removed

Browser other questions tagged

You are not signed in. Login or sign up in order to post.