Reputation: 128
For some reason, when I clone a repository on my openshift gear some directories show as the name of the directory, but they are files without extensions. How can I fix this?
Upvotes: 0
Views: 62
Reputation: 142572
some directories show as the name of the directory, but they are files without extensions
In your case the "folders" are links.
They can be symbolic links or submodules.
Example:
This is how submodules appear in github:
When checked out to git they are simple folders
And this is how symlinks are displayed (arrow)
And on the file system (Unix) it will look lie this:
Upvotes: 1
Reputation: 9390
It may be caused by the fact that the directories in the repo are actually symbolic links to directories and you are on Windows. If this is the case, you can simply ignore it, and use the actual path to the directory when dealing with files in them.
Upvotes: 0