0

what's that unusual folder (marked in red)?

what's that unusual folder (marked in red)? It seems to be an untracked folder. I tried to manually adding the file with:

git add folder/untracked_folder

but it does not seem to change anything.

Anyone have suggestions?

Alterecho
  • 665
  • 10
  • 25

1 Answers1

0

That is a submodule.

Repositories with submodules when cloned without --recursive option creates empty directories for submodules. Either you clone using,

git clone <repo-url> --recursive

or use,

git submodule update --init
pratZ
  • 3,078
  • 2
  • 20
  • 29
  • Great, but how do i change it to not be a submodule? I had deleted a .git folder, in the folder in question. – Alterecho Mar 05 '15 at 16:07
  • The directory has an entry in the `.gitmodules` file. If you want to delete it. Follow the instructions [here](http://stackoverflow.com/a/1260982/1587370) – pratZ Mar 05 '15 at 17:47
  • I had deleted the .gitmodules folder, to solve the issue, before askeing in here. – Alterecho Mar 07 '15 at 09:16