Inaccessible folder in github

3

I'm uploading my site to github.

Commands I've made:

git init 
git remote origin master URL 
git add --all 
git commit -m "Primeiro Commit" 
git push origin master

But git sends all files and folders to github, but a folder in specific "www" is sent only if it is inaccessible by github.

    
asked by anonymous 01.06.2017 / 21:53

1 answer

3

This happens because there is another "repository" .git inside the www folder.

What you can do is run:

git rm --cached www

Go to the www directory and delete the .git folder, go back to the previous directory and run:

git add www

To add the folder again, just send it to Github using:

git push origin master
    
01.06.2017 / 23:18