The image here shows the multiple folder but I only want to commit only one folder "New Folder" which have files in it.
After committing and adding I want the following result not the same name but as a folder in repository
I tried :
git commit prac -m "only-folder"
error: pathspec 'folder-name' did not match any file(s) known to git
But it gives the above error.
I only want to commit one folder and then add and upload it to my github
repository
as a folder only not as scattered files.
Please help me out here.
Thank You
This is the Error I am getting. This is all I am doing. I want Example folder to be on github like in Picture2. Please help me out here.