Troubleshooting misplaced .git directory (nothing to commit)

后端 未结 16 1554
死守一世寂寞
死守一世寂寞 2020-12-05 01:42

I started getting this message. No matter what I edit and try to commit, it says there is nothing to commit. Looks like git does not see my working directory and looking som

16条回答
  •  盖世英雄少女心
    2020-12-05 02:26

    Go to your workspace folder

    1. find .git folder
    2. delete the folder and its contents
    3. use git init command to initialize.

    Now it will show what all the files can be committed.

提交回复
热议问题