W
W
whiskeyWithIce2019-09-04 10:08:46
git
whiskeyWithIce, 2019-09-04 10:08:46

Why is GitHub ignoring solution folders from Visual Studio?

I have several projects in Visual Studio in one solution, I split them into two folders. After I pushed it all on GitHub, I saw that all these projects are in the root of the repository, and not in the folders I created. In general, how do I get GitHub to show these folders?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Barbolin, 2019-09-04
@dronmaxman

I assume that git init was done inside the folder you want to display on github. Git doesn't see anything above the directory it's in. Accordingly, you need to delete the .git inside the folder, go to the next level and run git init again.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question