✅ How to make Visual Studio's solution folders commited to GIT
I'm creating a blank solution using
Visual Studio 2022
, then I created two folders in it, src
and tests
, but when I commited any change the src
and tests
doesn't commited to the Repository
only the projects inside them get commited but not the folders itself.
Please, do you have any idea about how to fix this issue ?16 Replies
What?
Can you show what you're talking about?
If the projects are in those folders, then that's how they will be committed. The folder structure is preserved.
as you see here
I have the solution folders
yeah those are solution folders. they aren't physical folders
you'll need physical folders
but when commited the changes in github the folders not commited
because they don't really exist
how do I can add them ?
do you know how to create a folder on your computer?
hahahah yeah
there you go
but when I created them physically I can't see them in VS
you can have both physical and solution folders
you mean that if I created a
solution folder
named src
then when i created a physical folder called src
too, it will be commited ?sure, or the other way around
alright, it fixed,
massive thanks mate
I really appreciate <3