Kevin192291
Kevin192291

Reputation: 2097

Git treating directory like a file

I have an odd question, It seems as if Git is treating a directory as a file... Right after doing git add .:

enter image description here

Then, after my push, I get: enter image description here

"mov" is actually a directory but it seems like it is being treated as a file when doing the git push, this even happens if I am inside the directory when doing the push. I have attenpted to add the file by going into the mov directory and running: git remote -v, however it didn't change anything.

Am I overlooking something? This has never happened to me before :(

Upvotes: 0

Views: 362

Answers (1)

Code-Apprentice
Code-Apprentice

Reputation: 83517

The mov folder appears to have its own git repo and is therefor a submodule. Look for a .git folder inside of the mov folder. You can delete this directory to make mov part of the parent git repo.

Upvotes: 2

Related Questions