git recognizes directory as file
Posted
by
dbarrera
on Stack Overflow
See other posts from Stack Overflow
or by dbarrera
Published on 2013-10-30T21:15:42Z
Indexed on
2013/10/30
21:54 UTC
Read the original article
Hit count: 178
A recent issue has arised.
I have my local copy of code at ~/code/ directory where I made a git init. Whenever I copied a folder with files within it, git recognized folders and files normally.
But today I copied a folder and when I did a git status, git recognized hw2/ folder as a file.
Additionally, I removed .git folder and reinitialized git and now every folder is recognized as file.
Any ideas why this could be?
© Stack Overflow or respective owner