Why can I not open my folder in GitHub?

后端 未结 6 938
别跟我提以往
别跟我提以往 2020-12-29 02:08

The \"src\" folder in one of my repository is grayed out (and is not clickable):

\"screenshot\"

I took

6条回答
  •  感情败类
    2020-12-29 02:30

    There are two possible reasons to this

    1. You have a git folder within a git folder i.e. your src folder is a git folder itself. To fix that simply delete the .git folder within the src and
    git add 
    
    git commit -m "commit msg"
    
    git push origin master
    

    Incase if it still doesn't get fixed then, there maybe the problem because of cache. To fix that simple type

    git rm --cached 
    

    and repeat the above steps again. Your problem should get fixed.

提交回复
热议问题