Reputation: 4929
When I look at the remote repository's structure I see one of my Visual Studio projects in the wrong place. It is in the root folder. In the image below I am talking about the entry for CSS/Configuration/ALSTOM.CSS.Configuration.Menu. But when I look at the local file structure, I have a subfolder called CSS, and in that folder I have a subfolder called Configuration, etc. etc. In the image, it should really just have a folder called CSS in the root. Like there is for the GCS folder. In Visual Studio the folder structure is correct. And when I look at the local file system, it is also correct. I do not know how to fix this. I'm relatively new to Git and I was asked to fix this.
Edit: Is this a Bitbucket issue? Why it is not displaying the same folder structure?
Upvotes: 1
Views: 501
Reputation: 86
This is just a design quirk of how the web UI shows you tree structure; if a directory has no files, only subdirectories, it is appended to its parent until you get to a directory with files in it. If the final directory has just one file in it, then the file is appended too. This has the plus of condensing a sparse tree structure so you can see more of it at once, and if you click that entry, both BitBucket and GitHub do you the favor of navigating directly to the single file or directory with files in it, so you didn't have to click through a bunch of pages. You will still see the full path in the breadcrumbs once you click through.
Upvotes: 1