github changes not staged for commit

后端 未结 13 691
[愿得一人]
[愿得一人] 2020-12-23 13:31

I have a very basic github setup with a readme, a directory, and another directory inside it with an html file. On github I can only view the readme and the first folder but

13条回答
  •  -上瘾入骨i
    2020-12-23 13:49

    WARNING! THIS WILL DELETE THE ENTIRE GIT HISTORY FOR YOUR SUBMODULE. ONLY DO THIS IF YOU CREATED THE SUBMODULE BY ACCIDENT. CERTAINLY NOT WHAT YOU WANT TO DO IN MOST CASES.

    In my situation, there was a sub-directory which had a .git directory.

    What I do is simply remove that .git directory from my sub-directory.

提交回复
热议问题