Why have the folders in my github directory gone gray and empty?

1

Here's how they stayed:

I shipped with bash using git push --force because normal push was not working. Can anyone tell me what happened and how to solve it? the folders are not empty in the original directory of my pc but in github so it turned gray instead of blue which is the color they use for folders.

    
asked by anonymous 27.08.2016 / 17:33

1 answer

1
  

"I made td this and anyway: fatal: 'origin' does not appear to be a   git repository fatal: Could not read from remote repository. Please   make sure you have the correct access rights and the repository   exists. "

Do the following:

  • Remove the .git folder from your local repo
  • Execute: git init
  • Execute: git remote add origin "url from your repository"
  • Execute: git status
  • On 4 you will be able to see the revisions you have in your local repo marked as change in repo. Then just add them (git commit and git push origin master).

        
    28.08.2016 / 16:39